Skip to content

Commit

Permalink
= -> ILIKE
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Oct 18, 2024
1 parent 6cbfe3a commit 06afa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiita_db/processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def create(cls, user, parameters, force=False):
# divided by 2 as we have key-value pairs
len_params = int(len(params)/2)
sql = sql.format(' AND ' + ' AND '.join(
["command_parameters->>%s = %s"] * len_params))
["command_parameters->>%s ILIKE %s"] * len_params))
params = [command.id] + params
TTRN.add(sql, params)
else:
Expand Down

0 comments on commit 06afa9c

Please sign in to comment.