diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index e8c963a6..fbe50bb9 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -586,7 +586,7 @@ class Grid(object): for key in ['page', 'sortkey']: if 'grid.{}.{}'.format(self.key, key) in self.request.session: return True - return False + return any([key.startswith('grid.{}.filter'.format(self.key)) for key in self.request.session]) def get_setting(self, source, settings, key, normalize=lambda v: v, default=None): """