web/views/magicsearch.py
changeset 2890 fdcb8a2bb6eb
parent 2650 18aec79ec3a3
child 3369 7b88d12b4ee2
--- a/web/views/magicsearch.py	Mon Aug 17 20:02:25 2009 +0200
+++ b/web/views/magicsearch.py	Mon Aug 17 20:02:57 2009 +0200
@@ -345,7 +345,7 @@
 class MagicSearchComponent(Component):
     id  = 'magicsearch'
     def __init__(self, req, rset=None):
-        super(MagicSearchComponent, self).__init__(req, rset)
+        super(MagicSearchComponent, self).__init__(req, rset=rset)
         processors = []
         self.by_name = {}
         for processorcls in self.vreg['components']['magicsearch_processor']: