]> git.koha-community.org Git - koha.git/commit
Bug 26313: "Show analytics" link must use uppercase for booleans
authorNick Clemens <nick@bywatersolutions.com>
Tue, 1 Sep 2020 12:32:56 +0000 (12:32 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 14 Sep 2020 21:27:43 +0000 (21:27 +0000)
commit4755e8ef5cc73583f270fb1fe22415f29def46ea
tree79a96f764aa967f399493f3e818f8bb031b8c38a
parent6e014333589b80be7b0060da8aa3e4e55cfb07ca
Bug 26313: "Show analytics" link must use uppercase for booleans

In elasticsearch we only treat AND and OR as boolean operators if
they are capitalized

To test:
- Turn SearchEngine to Elasticsearch and make sure it works
- Pick any serial record in your database, make sure 001 is set
- Go to new > new child record
- Fill in 245 and save
- Click on the "In" link, it should bring you to the parent record
- Click on "Show analytics" => there will be no result
- Apply patch
- restart and reload
- Try again
- It works!
- Switch SearchEngine syspref to 'Zebra'
- Test again
- It still works!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit fde7bf5495dedf681acb3193891de44eec4d2bfa)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl