]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 14 Nov 2022 13:34:44 +0000 (14:34 +0100)
commit0ce64c4469b81ccc80d6df5c243f5254617af24e
tree83639cbf5bb9ebf5f60c41db5a1541fe36ede6bd
parent8ca15f9841cf3949e8ab3e46216fa5f045777689
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>
(cherry picked from commit 970cf815145b2f8e3d4a9e24a885373c25ba351f)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/AuthoritiesMarc.pm