Tweak how default filter config is handled for batch grid views.

Not sure I fully understand what happened but this seemed to fix it..
This commit is contained in:
Lance Edgar 2015-07-15 23:19:29 -05:00
parent 21486a5e55
commit bafa1a0fd7

View file

@ -204,13 +204,14 @@ class BatchGrid(BaseGrid):
classes should *not* override this, but :meth:`filter_config_extras()` classes should *not* override this, but :meth:`filter_config_extras()`
instead. instead.
""" """
defaults = self.filter_config_extras()
config = self.make_filter_config( config = self.make_filter_config(
filter_factory_executed=BooleanSearchFilter, filter_factory_executed=BooleanSearchFilter,
filter_type_executed='is', filter_type_executed='is',
executed=False, executed=False,
include_filter_executed=True) include_filter_executed=True)
config.update(self.filter_config_extras()) defaults.update(config)
return config return defaults
def sort_map(self): def sort_map(self):
""" """