Bug 16976 - Authorities searches with double quotes gives ZOOM error 20003 [Alternate]
commit39a2f6421e3d0b2c415ad9abc655193357e24328
authorNick Clemens <nick@bywatersolutions.com>
Fri, 16 Jun 2017 10:36:22 +0000 (16 06:36 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Sep 2017 13:17:42 +0000 (6 15:17 +0200)
tree6ee4e40774f0fa2185a2f04e5e6a67bc361d0cd7
parent4c86b575b2ef09cceefa9a2718053e45a71c2b25
Bug 16976 - Authorities searches with double quotes gives ZOOM error 20003 [Alternate]

I dug into this a little bit, it seems the issue is that we were double
processing the query because of an extra call to
C4::AuthoritiesMarc::SearchAuthorities

I think we can simply remove this call

To test:
1 - Perform an authority search for a value that returns results
2 - Wrap it in quotes and search
3 - 'Internal server error'
4 - Apply patch
5 - Search with quotes succeeds

https://bugs.koha-community.org/show_bug.cgi?id=16796

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9c8a04acb05466356fec8e9d6d13183295719c7d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SearchEngine/Zebra/QueryBuilder.pm