web/facet.py
changeset 8748 f5027f8d2478
parent 8719 539ed3fb27cb
child 8867 6ad000b91347
--- a/web/facet.py	Wed Mar 20 17:58:14 2013 +0100
+++ b/web/facet.py	Tue Mar 12 12:50:05 2013 +0100
@@ -64,7 +64,7 @@
 
 from rql import nodes, utils
 
-from cubicweb import Unauthorized, typed_eid
+from cubicweb import Unauthorized
 from cubicweb.schema import display_name
 from cubicweb.uilib import css_em_num_value
 from cubicweb.utils import make_uid
@@ -500,8 +500,7 @@
         return FacetVocabularyWidget
 
     def get_selected(self):
-        return frozenset(typed_eid(eid)
-                         for eid in self._cw.list_form_param(self.__regid__))
+        return frozenset(int(eid) for eid in self._cw.list_form_param(self.__regid__))
 
     def get_widget(self):
         """Return the widget instance to use to display this facet.