]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 20:52:44 +0000 (13:52 -0700)
commitdee864c1edff70f58dfaffcffa102e0663400425
tree391bf521b60fca7c603b6e6ae745af8d0446b680
parentdf184560a5de428ed6eaaff437cb5dd450f45726
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>
C4/AuthoritiesMarc.pm