equal
deleted
inserted
replaced
259 needs_update = False |
259 needs_update = False |
260 start_unfolded = True |
260 start_unfolded = True |
261 |
261 |
262 def __init__(self, req, rset=None, rqlst=None, filtered_variable=None, |
262 def __init__(self, req, rset=None, rqlst=None, filtered_variable=None, |
263 **kwargs): |
263 **kwargs): |
264 super(AbstractFacet, self).__init__(req, rset, **kwargs) |
264 super(AbstractFacet, self).__init__(req, rset=rset, **kwargs) |
265 assert rset is not None or rqlst is not None |
265 assert rset is not None or rqlst is not None |
266 assert filtered_variable |
266 assert filtered_variable |
267 # facet retreived using `object_by_id` from an ajax call |
267 # facet retreived using `object_by_id` from an ajax call |
268 if rset is None: |
268 if rset is None: |
269 self.init_from_form(rqlst=rqlst) |
269 self.init_from_form(rqlst=rqlst) |