Bugzilla – Attachment 50115 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478: Define simple_search_compat for Zebra
Bug-12478-Define-simplesearchcompat-for-Zebra.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2016-04-11 07:21:53 UTC
(
hide
)
Description:
Bug 12478: Define simple_search_compat for Zebra
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-11 07:21:53 UTC
Size:
1.22 KB
patch
obsolete
>From 4ac570eb24006b18642173b7aca31f543a0d2eeb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 11 Apr 2016 08:11:11 +0100 >Subject: [PATCH] Bug 12478: Define simple_search_compat for Zebra > >When Zebra is defined as the search engine, the authority search is >broken (Can't locate object method "simple_search_compat" via package >"Koha::SearchEngine::Zebra::Search" at /home/koha/koha/C4/AuthoritiesMarc.pm line 357.) >simple_search_compat is not defined in >Koha::SearchEngine::Zebra::Search, it should be a wrapper for >C4::Search::SimpleSearch >--- > Koha/SearchEngine/Zebra/Search.pm | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/Koha/SearchEngine/Zebra/Search.pm b/Koha/SearchEngine/Zebra/Search.pm >index 2e4aad3..76a9aff 100644 >--- a/Koha/SearchEngine/Zebra/Search.pm >+++ b/Koha/SearchEngine/Zebra/Search.pm >@@ -59,6 +59,18 @@ sub search_compat { > return getRecords(@_); > } > >+=head2 simple_search_compat >+ >+This passes straight through to C4::Search::SimpleSearch. >+ >+=cut >+ >+ >+sub simple_search_compat { >+ shift; >+ return C4::Search::SimpleSearch(@_); >+} >+ > =head search_auth_compat > > This passes the search query on to C4::AuthoritiesMarc::SearchAuthorities >-- >2.7.0
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 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292