]> git.koha-community.org Git - koha.git/commit
Bug 31023: Quote authtypecode in FindDuplicateAuthorities
authorNick Clemens <nick@bywatersolutions.com>
Tue, 12 Jul 2022 13:46:55 +0000 (13:46 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 31 Oct 2022 20:05:08 +0000 (20:05 +0000)
commit970cf815145b2f8e3d4a9e24a885373c25ba351f
treee62a4b359c2bfb0d0054fb459955a8b98ee1ac01
parent4b9106d995ef0f686a941cf914906eae45e5328e
Bug 31023: Quote authtypecode in FindDuplicateAuthorities

To test:
0 - Have Koha using Elasticsearch
1 - Set  QueryRegexEscapeOptions to 'unescape escaped'
2 - Attempt to add a new 'GENRE/FORM' authority record
3 - On save you get a 500 error
Unable to understand your search query, please rephrase and try again.
 at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Search.pm line 102
4 - Apply patch, restart all
5 - Attempt to add a new 'GENRE/FORM' authority record
6 - Success!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dee864c1edff70f58dfaffcffa102e0663400425)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/AuthoritiesMarc.pm