web/views/tableview.py
changeset 2650 18aec79ec3a3
parent 2381 caad2367d940
child 2677 8df54acd6613
--- a/web/views/tableview.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/web/views/tableview.py	Mon Aug 03 10:50:57 2009 +0200
@@ -34,8 +34,8 @@
             return ()
         rqlst.save_state()
         mainvar, baserql = prepare_facets_rqlst(rqlst, self.rset.args)
-        wdgs = [facet.get_widget() for facet in self.vreg.possible_vobjects(
-            'facets', self.req, rset=self.rset, context='tablefilter',
+        wdgs = [facet.get_widget() for facet in self.vreg['facets'].possible_vobjects(
+            self.req, rset=self.rset, context='tablefilter',
             filtered_variable=mainvar)]
         wdgs = [wdg for wdg in wdgs if wdg is not None]
         rqlst.recover()