web/views/embedding.py
changeset 254 b1eda3dd844a
parent 237 3df2e0ae2eba
child 431 18b4dd650ef8
--- a/web/views/embedding.py	Mon Dec 22 14:31:07 2008 +0100
+++ b/web/views/embedding.py	Mon Dec 22 17:22:54 2008 +0100
@@ -18,7 +18,7 @@
 from cubicweb.interfaces import IEmbedable
 from cubicweb.common.uilib import soup2xhtml
 from cubicweb.common.selectors import (one_line_rset, score_entity_selector,
-                                    searchstate_selector, interface_selector)
+                                    match_search_state, interface_selector)
 from cubicweb.common.view import NOINDEX, NOFOLLOW
 from cubicweb.web.controller import Controller
 from cubicweb.web.action import Action
@@ -81,7 +81,7 @@
     """
     id = 'embed'
     controller = 'embed'
-    __selectors__ = (one_line_rset, searchstate_selector,
+    __selectors__ = (one_line_rset, match_search_state,
                      interface_selector, score_entity_selector)
     accepts_interfaces = (IEmbedable,)