web/facet.py
changeset 2890 fdcb8a2bb6eb
parent 2799 b703639614e7
child 3023 7864fee8b4ec
--- a/web/facet.py	Mon Aug 17 20:02:25 2009 +0200
+++ b/web/facet.py	Mon Aug 17 20:02:57 2009 +0200
@@ -261,7 +261,7 @@
 
     def __init__(self, req, rset=None, rqlst=None, filtered_variable=None,
                  **kwargs):
-        super(AbstractFacet, self).__init__(req, rset, **kwargs)
+        super(AbstractFacet, self).__init__(req, rset=rset, **kwargs)
         assert rset is not None or rqlst is not None
         assert filtered_variable
         # facet retreived using `object_by_id` from an ajax call