From bafa1a0fd7ed5570c4703f2e4849bd89247a08f9 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Jul 2015 23:19:29 -0500 Subject: [PATCH] Tweak how default filter config is handled for batch grid views. Not sure I fully understand what happened but this seemed to fix it.. --- tailbone/views/batch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tailbone/views/batch.py b/tailbone/views/batch.py index 99f84fab..a45c9523 100644 --- a/tailbone/views/batch.py +++ b/tailbone/views/batch.py @@ -204,13 +204,14 @@ class BatchGrid(BaseGrid): classes should *not* override this, but :meth:`filter_config_extras()` instead. """ + defaults = self.filter_config_extras() config = self.make_filter_config( filter_factory_executed=BooleanSearchFilter, filter_type_executed='is', executed=False, include_filter_executed=True) - config.update(self.filter_config_extras()) - return config + defaults.update(config) + return defaults def sort_map(self): """