web/facet.py
changeset 4333 7add8a73a168
parent 4252 6c4f109c2b03
child 4466 8b0ca7904820
--- a/web/facet.py	Fri Jan 22 11:40:22 2010 +0100
+++ b/web/facet.py	Fri Jan 22 14:40:14 2010 +0100
@@ -64,8 +64,8 @@
 
 
 def get_facet(req, facetid, rqlst, mainvar):
-    return req.vreg['facets'].select(facetid, req, rqlst=rqlst,
-                                     filtered_variable=mainvar)
+    return req.vreg['facets'].object_by_id(facetid, req, rqlst=rqlst,
+                                           filtered_variable=mainvar)
 
 
 def filter_hiddens(w, **kwargs):