diff options
author | zeripath <art27@cantab.net> | 2021-03-02 13:07:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 14:07:01 +0100 |
commit | def964e57fae6dadf124f07d3b250b0a09a37546 (patch) | |
tree | 08e2ef5f93a7c7e6b775991977e8c0ba347c36cd /routers/routes/web.go | |
parent | f878c8231f9e8a29668e19d27c29eedb1c6dab0e (diff) | |
download | gitea-def964e57fae6dadf124f07d3b250b0a09a37546.tar.gz gitea-def964e57fae6dadf124f07d3b250b0a09a37546.zip |
Make searching issues by keyword case insensitive on DB (#14848)
Most DBs apart from SQLite will use a default Collation that is not case insensitive.
This means that SearchIssuesByKeyword becomes case sensitive for db indexing - in
contrast to the bleve and elastic indexers.
This PR simply uses UPPER(...) to do the LIKE - and although it may be more efficient
to change collations this would be a non-trivial task.
Fix #13663
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/routes/web.go')
0 files changed, 0 insertions, 0 deletions