def _list(self):
if get_order_args().get(self.__class__.__name__):<EOL><INDENT>order_column, order_direction = get_order_args().get(<EOL>self.__class__.__name__<EOL>)<EOL><DEDENT>else:<EOL><INDENT>order_column, order_direction = "<STR_LIT>", "<STR_LIT>"<EOL><DEDENT>page = get_page_args().get(self.__class__.__name__)<EOL>page_size = get_page_size_args().get(self.__class__.__name__)<EOL>get_filter_args(self._filters)<EOL>widgets = self._get_list_widget(<EOL>filters=self._filters,<EOL>order_column=order_column,<EOL>order_direction=order_direction,<EOL>page=page,<EOL>page_size=page_size,<EOL>)<EOL>form = self.search_form.refresh()<EOL>self.update_redirect()<EOL>return self._get_search_widget(form=form, widgets=widgets)<EOL>
list function logic, override to implement different logic
returns list and search widget