'get joined base filter and current active filter for query'

def _get_list_widget(self, filters, actions=None, order_column='', order_direction='', page=None, page_size=None, widgets=None, **args):

    widgets = (widgets or {})
    actions = (actions or self.actions)
    page_size = (page_size or self.page_size)
    if ((not order_column) and self.base_order):
        (order_column, order_direction) = self.base_order
    joined_filters = filters.get_joined_filters(self._base_filters)
    (count, lst) = self.datamodel.query(joined_filters, order_column, order_direction, page=page, page_size=page_size)
    pks = self.datamodel.get_keys(lst)
    widgets['list'] = self.list_widget(label_columns=self.label_columns, include_columns=self.list_columns, value_columns=self.datamodel.get_values(lst, self.list_columns), order_columns=self.order_columns, formatters_columns=self.formatters_columns, page=page, page_size=page_size, count=count, pks=pks, actions=actions, filters=filters, modelview_name=self.__class__.__name__)
    return widgets
