Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #65 from automationator/master
Browse files Browse the repository at this point in the history
Fixes indicator types filter issue
  • Loading branch information
automationator committed May 31, 2019
2 parents 6ef19dd + 21b1f03 commit d61a7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/web/project/api/routes/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def read_indicators():
# Types filter
if 'types' in request.args:
types = request.args.get('types').split(',')
filters.add(Indicator.type.value.in_(types))
filters.add(Indicator.type.has(IndicatorType.value.in_(types)))

# User filter
if 'user' in request.args:
Expand Down

0 comments on commit d61a7e6

Please sign in to comment.