web/facet.py
changeset 2770 356e9d7c356d
parent 2658 5535857eeaa5
child 2799 b703639614e7
--- a/web/facet.py	Tue Aug 11 12:42:01 2009 +0200
+++ b/web/facet.py	Tue Aug 11 13:01:56 2009 +0200
@@ -64,8 +64,8 @@
 
 
 def get_facet(req, facetid, rqlst, mainvar):
-    return req.vreg['facets'].object_by_id(facetid, req, rqlst=rqlst,
-                                           filtered_variable=mainvar)
+    return req.vreg['facets'].select(facetid, req, rqlst=rqlst,
+                                     filtered_variable=mainvar)
 
 
 def filter_hiddens(w, **kwargs):