Bugzilla – Attachment 64655 Details for
Bug 16976
Authorities searches with double quotes gives ZOOM error 20003
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16976 - Authorities searches with double quotes gives ZOOM error 20003 [Alternate]
Bug-16976---Authorities-searches-with-double-quote.patch (text/plain), 1.30 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-06-26 15:18:46 UTC
(
hide
)
Description:
Bug 16976 - Authorities searches with double quotes gives ZOOM error 20003 [Alternate]
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-06-26 15:18:46 UTC
Size:
1.30 KB
patch
obsolete
>From f2fc19d1198a91b195caf29084a7be14f831894b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 16 Jun 2017 06:36:22 -0400 >Subject: [PATCH] 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> >--- > Koha/SearchEngine/Zebra/QueryBuilder.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/Koha/SearchEngine/Zebra/QueryBuilder.pm b/Koha/SearchEngine/Zebra/QueryBuilder.pm >index 0929516..d0e2738 100644 >--- a/Koha/SearchEngine/Zebra/QueryBuilder.pm >+++ b/Koha/SearchEngine/Zebra/QueryBuilder.pm >@@ -37,7 +37,6 @@ sub build_query_compat { > > sub build_authorities_query { > shift; >- C4::AuthoritiesMarc::SearchAuthorities(@_); > return { > marclist => $_[0], > and_or => $_[1], >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16976
:
63957
|
63963
|
64382
|
64384
|
64655
|
64923
|
64998
|
64999
|
65901
|
65902
|
65903
|
65904
|
65905
|
66017
|
66018