Skip to content

Commit

Permalink
add boolean operator to WHERE filter creation #259
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Nov 19, 2021
1 parent cab9f3f commit 6882b9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datagateway_api/src/search_api/query_filter_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ def get_query_filter(request_filter):
for condition in filter_data:
query_filters.append(
SearchAPIWhereFilter(
condition[0], condition[1], condition[2],
field=condition[0],
value=condition[1],
operation=condition[2],
boolean_operator=boolean_operator,
),
)
else:
Expand Down

0 comments on commit 6882b9f

Please sign in to comment.