]> git.koha-community.org Git - koha.git/commit
Bug 25864: Lower case fields for searching
authorNick Clemens <nick@bywatersolutions.com>
Wed, 24 Jun 2020 12:20:03 +0000 (12:20 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 22 Jul 2020 00:03:40 +0000 (12:03 +1200)
commit8a66977e1ebe53fdbcc21abeb578f425c4e7bbd8
treeab46d491b13a5b4c1518db2c6141e2d4d306ebbc
parentffa92350a098dbde373430eaae1bf3b6fc3f423e
Bug 25864: Lower case fields for searching

To recreate:
 1 - Have Koha using ES5 and Elasticsearch as search engine
 2 - Enable DumpTemplateVarsIntranet and DumpSearchQueryTemplate
 3 - Do a search in authorities using 'Search entire record' (abduction if using sample db)
 4 - Note no results
 5 - View the page source and find 'search_query'
 6 - Note the uppercased fields
 7 - curl 'es:9200/koha_kohadev_authorities/data/417?pretty'
 8 - Note all fields lower-cased
 9 - Apply patch
10 - Repeat search
11 - It works!

Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2ab6018b6e14ae2153093db148f04f71405f4493)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ecdefe969e76c0819e8386f8af539f79528a44b3)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm