def _get_list_widget(self, **args):
widgets = super(CompactCRUDMixin, self)._get_list_widget(**args)<EOL>session_form_widget = self.get_key("<STR_LIT>", None)<EOL>form_widget = None<EOL>if session_form_widget == "<STR_LIT>":<EOL><INDENT>form_widget = self._add().get("<STR_LIT>")<EOL><DEDENT>elif session_form_widget == "<STR_LIT>":<EOL><INDENT>pk = self.get_key("<STR_LIT>")<EOL>if pk and self.datamodel.get(int(pk)):<EOL><INDENT>form_widget = self._edit(int(pk)).get("<STR_LIT>")<EOL><DEDENT><DEDENT>return {<EOL>"<STR_LIT:list>": GroupFormListWidget(<EOL>list_widget=widgets.get("<STR_LIT:list>"),<EOL>form_widget=form_widget,<EOL>form_action=self.get_key("<STR_LIT>", "<STR_LIT>"),<EOL>form_title=self.get_key("<STR_LIT>", "<STR_LIT>"),<EOL>)<EOL>}<EOL>
get joined base filter and current active filter for query