Skip to content

Commit

Permalink
fix: endpoint serch_tassonomie param value
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Jul 22, 2024
1 parent 780be86 commit 00c171d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/iosanita/policy/restapi/services/search_tassonomie/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def reply(self):

# add standard query filters
for query_index in BASE_FILTERS:
value = self.request.form.get(query_index, "")
if value:
query[query_index] = value
value_index = self.request.form.get(query_index, "")
if value_index:
query[query_index] = value_index

# then filter by taxonomy
all_values = pc.uniqueValuesFor(index)
Expand Down

0 comments on commit 00c171d

Please sign in to comment.