Koha/catalogue
Joonas Kylmälä cfe7123679 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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-06-25 09:51:21 -04:00
..
detail.pl Bug 28513: Fix analytics search links so they don't match unrelated biblios 2021-06-25 09:51:21 -04:00
export.pl
getitem-ajax.pl
image.pl
imageviewer.pl Bug 28178: Display the correct image in the image viewer 2021-04-27 16:23:49 +02:00
ISBDdetail.pl
issuehistory.pl
item-export.pl
itemsearch.pl Bug 28383: Fix itemsearch when accessed from the login form 2021-06-18 10:51:13 -04:00
labeledMARCdetail.pl
MARCdetail.pl
moredetail.pl
search-history.pl
search.pl Bug 21249: (follow-up) Adding parentheses to fix query 2021-05-06 15:52:43 +02:00
showmarc.pl
stockrotation.pl
updateitem.pl