Bug 16976 - Authorities searches with double quotes gives ZOOM error 20003 [Alternate]
authorNick Clemens <nick@bywatersolutions.com>
Fri, 16 Jun 2017 10:36:22 +0000 (06:36 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Aug 2017 15:17:40 +0000 (12:17 -0300)
commit9c8a04acb05466356fec8e9d6d13183295719c7d
tree67c96b12e4049a7f935e7cfabb2e14d4ccb38545
parent3808dbc1d22b3adc43a09ba7ce00aaca01f95f5a
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>
Koha/SearchEngine/Zebra/QueryBuilder.pm