Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 1d8ff20

Browse files
committed
Bug fix
1 parent 44f0b06 commit 1d8ff20

File tree

1 file changed

+1
-1
lines changed
  • flask_rest_jsonapi/data_layers/filtering

1 file changed

+1
-1
lines changed

flask_rest_jsonapi/data_layers/filtering/alchemy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, model, filter_, resource, schema):
2929
self.schema = schema
3030

3131
def resolve(self):
32-
if 'or' not in self.filter_ and 'and' not in self.filter_:
32+
if 'or' not in self.filter_ and 'and' not in self.filter_ and 'not' not in self.filter_:
3333
if self.val is None and self.field is None:
3434
raise InvalidFilters("Can't find value or field in a filter")
3535

0 commit comments

Comments
 (0)