web/views/basecomponents.py
branchstable
changeset 2120 ed1cd652b343
parent 2119 dc1eedd06766
child 2144 51c84d585456
child 2172 cf8f9180e63e
equal deleted inserted replaced
2119:dc1eedd06766 2120:ed1cd652b343
    27 
    27 
    28 class RQLInputForm(component.Component):
    28 class RQLInputForm(component.Component):
    29     """build the rql input form, usually displayed in the header"""
    29     """build the rql input form, usually displayed in the header"""
    30     id = 'rqlinput'
    30     id = 'rqlinput'
    31     property_defs = VISIBLE_PROP_DEF
    31     property_defs = VISIBLE_PROP_DEF
    32 
    32     visible = False
       
    33     
    33     def call(self, view=None):
    34     def call(self, view=None):
    34         if hasattr(view, 'filter_box_context_info'):
    35         if hasattr(view, 'filter_box_context_info'):
    35             rset = view.filter_box_context_info()[0]
    36             rset = view.filter_box_context_info()[0]
    36         else:
    37         else:
    37             rset = self.rset
    38             rset = self.rset