Skip to content

Commit

Permalink
Fix issue with substring filters including even query options
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcello Cardea committed Nov 28, 2013
1 parent b57d4e8 commit 4f7e2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgext/crud/controller.py
Expand Up @@ -315,7 +315,7 @@ def get_all(self, *args, **kw):
if not getattr(self.table.__class__, '__retrieves_own_value__', False):
kw.pop('substring_filters', None)
if self.substring_filters is True:
substring_filters = kw.keys()
substring_filters = set(kw.keys()) - set(['limit', 'offset', 'order_by', 'desc'])
else:
substring_filters = self.substring_filters

Expand Down

0 comments on commit 4f7e2b2

Please sign in to comment.