Koha/catalogue
Joonas Kylmälä 0276ca0ce8 Bug 28513: Fix analytics search links so they don't match unrelated biblios
At least when using Searchengine=Elasticsearch what happened was that
without () parenthese included the search for Host-item field was done
only to the first token, the subsequent ones matched any
fields. Adding the parentheses restrict the search to Host-item search
field only.

To test:
 1) Set Searchengine = elasticsearch
 2) Make a biblio with 245a = "biológica paranaense." and 773a = "Acta"
 3) Go to a biblio with 245a = "Acta biológica paranaense" (in
 kohadevbox or create one if you need).
 4) Notice that the "Acta biológica paranaense" biblio's detail page link "Show
 analytics" takes to the "biológica paranaense" incorrectly just
 because the 773a has "Acta" and the words "biológica" and "paranaense"
 appear elsewhere in the biblio.
 5) Apply patch and notice the link is now not created at all

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-06-21 10:50:09 +02:00
..
detail.pl Bug 28513: Fix analytics search links so they don't match unrelated biblios 2021-06-21 10:50:09 +02:00
export.pl Bug 24108: Make export file names consistent 2021-02-17 16:28:25 +01:00
getitem-ajax.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
image.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
imageviewer.pl Bug 28178: Display the correct image in the image viewer 2021-04-27 16:23:49 +02:00
ISBDdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
issuehistory.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
item-export.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
itemsearch.pl Bug 28383: Fix itemsearch when accessed from the login form 2021-06-15 16:41:47 +02:00
labeledMARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
MARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
moredetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
search-history.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
search.pl Bug 28526: (QA follow-up) Don't search if query is blank 2021-06-21 10:10:00 +02:00
showmarc.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
stockrotation.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
updateitem.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00