]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Sep 2020 11:40:00 +0000 (13:40 +0200)
commitfde7bf5495dedf681acb3193891de44eec4d2bfa
tree1bc7ede3c07d05f8e6c93bb8974f549a54a260ad
parentc53dfb5562a12c1a8d8b9d3d0c28cb17d001edb5
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>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl