web/views/basecomponents.py
changeset 2181 94ca417b9b07
parent 2144 51c84d585456
parent 2172 cf8f9180e63e
child 2234 1fbcf202882d
equal deleted inserted replaced
2144:51c84d585456 2181:94ca417b9b07
    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     visible = False
    32     visible = False
    33     
    33 
    34     def call(self, view=None):
    34     def call(self, view=None):
    35         if hasattr(view, 'filter_box_context_info'):
    35         if hasattr(view, 'filter_box_context_info'):
    36             rset = view.filter_box_context_info()[0]
    36             rset = view.filter_box_context_info()[0]
    37         else:
    37         else:
    38             rset = self.rset
    38             rset = self.rset