Commit 97a264e
authored
Fix: Handle string boolean values in exact_match filter (#283)
The exact_match parameter from URL query args is always a string, but the
code was comparing it directly to boolean True, causing it to always fail.
Changed comparison to check for string 'true' value using .lower() method.
Signed-off-by: Pranjal Jha <136667416+pranjal2004838@users.noreply.github.com>1 parent db4c266 commit 97a264e
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments