Ensure case insensitive search on postgres #927

Merged
konrad merged 5 commits from feature/search into main 2021-08-01 21:40:27 +00:00
Owner

Description

This PR makes ensures an ILIKE query when using postgres to always ignore the casing when searching.

Checklist

  • I added or improved tests
  • Move the conditional LIKE vs ILIKE to a new helper function since XORM doesn't have one
  • More Tests for search
# Description This PR makes ensures an `ILIKE` query when using postgres to always ignore the casing when searching. # Checklist * [x] I added or improved tests * [x] Move the conditional `LIKE` vs `ILIKE` to a new helper function since XORM doesn't have one * [x] More Tests for search
konrad added 1 commit 2021-07-30 15:48:08 +00:00
Add ILIKE for every LIKE query
Some checks failed
continuous-integration/drone/pr Build is failing
d0bde0cfd3
konrad added 1 commit 2021-07-30 15:51:17 +00:00
Add ILIKE helper function
Some checks failed
continuous-integration/drone/pr Build is failing
549a87856e
konrad added 1 commit 2021-07-30 21:49:58 +00:00
Use ILIKE helper function
Some checks failed
continuous-integration/drone/pr Build is failing
bdf34e50aa
konrad added 1 commit 2021-07-30 22:20:44 +00:00
Add more tests for search
Some checks failed
continuous-integration/drone/pr Build is failing
c6206d1c60
konrad added 1 commit 2021-08-01 21:22:02 +00:00
Fix setting ILIKE column
All checks were successful
continuous-integration/drone/pr Build is passing
d91e397f88
konrad merged commit 4c5f457313 into main 2021-08-01 21:40:27 +00:00
konrad deleted branch feature/search 2021-08-01 21:40:33 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.