web/views/facets.py
branchstable
changeset 4244 2c3de1953d00
parent 4212 ab6573088b4a
child 4252 6c4f109c2b03
equal deleted inserted replaced
4243:2621de25d15a 4244:2c3de1953d00
    55         if context:
    55         if context:
    56             rset, vid, divid, paginate = context
    56             rset, vid, divid, paginate = context
    57         else:
    57         else:
    58             rset = self.rset
    58             rset = self.rset
    59             vid, divid = None, 'pageContent'
    59             vid, divid = None, 'pageContent'
    60             paginate = view and view.need_navigation
    60             paginate = view and view.paginable
    61         return rset, vid, divid, paginate
    61         return rset, vid, divid, paginate
    62 
    62 
    63     def call(self, view=None):
    63     def call(self, view=None):
    64         req = self.req
    64         req = self.req
    65         req.add_js( self.needs_js )
    65         req.add_js( self.needs_js )