Bugzilla – Attachment 57141 Details for
Bug 14567
Add an elasticsearch driven browse interface to the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14567 - Fix paths (rebase from 17372)
Bug-14567---Fix-paths-rebase-from-17372.patch (text/plain), 1.68 KB, created by
Nick Clemens (kidclamp)
on 2016-11-03 19:48:54 UTC
(
hide
)
Description:
Bug 14567 - Fix paths (rebase from 17372)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-11-03 19:48:54 UTC
Size:
1.68 KB
patch
obsolete
>From ea97fc93f6dc7af4c21d67896d708976b4ab3a07 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 3 Nov 2016 19:47:26 +0000 >Subject: [PATCH] Bug 14567 - Fix paths (rebase from 17372) > >--- > Koha/SearchEngine/Elasticsearch/Browse.pm | 2 +- > opac/opac-browse.pl | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/Browse.pm b/Koha/SearchEngine/Elasticsearch/Browse.pm >index ba5134f..0eb7bf0 100644 >--- a/Koha/SearchEngine/Elasticsearch/Browse.pm >+++ b/Koha/SearchEngine/Elasticsearch/Browse.pm >@@ -46,7 +46,7 @@ as "suggestible" in the database when indexing takes place. > > =cut > >-use base qw(Koha::ElasticSearch); >+use base qw(Koha::SearchEngine::Elasticsearch); > use Modern::Perl; > > use Catmandu::Store::ElasticSearch; >diff --git a/opac/opac-browse.pl b/opac/opac-browse.pl >index 40b528d..8258f3e 100755 >--- a/opac/opac-browse.pl >+++ b/opac/opac-browse.pl >@@ -26,7 +26,7 @@ use C4::Auth; > use C4::Context; > use C4::Output; > >-use Koha::ElasticSearch; >+use Koha::SearchEngine::Elasticsearch; > use Koha::SearchEngine::Elasticsearch::Browse; > use Koha::SearchEngine::Elasticsearch::QueryBuilder; > use Koha::SearchEngine::Elasticsearch::Search; >@@ -81,7 +81,7 @@ elsif ( $api eq 'GetResults' ) { > > my $builder = Koha::SearchEngine::Elasticsearch::QueryBuilder->new( { index => 'biblios' } ); > my $searcher = Koha::SearchEngine::Elasticsearch::Search->new( >- { index => $Koha::ElasticSearch::BIBLIOS_INDEX } ); >+ { index => $Koha::SearchEngine::Elasticsearch::BIBLIOS_INDEX } ); > > my $query = $builder->build_query( > [ { term => $term, field => $field, exact => 1 } ] ); >-- >2.1.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 14567
:
41096
|
41804
|
41805
|
41806
|
56253
|
56254
|
56255
|
56256
|
56262
|
56263
|
56264
|
56270
|
56271
|
56272
|
56273
|
57141
|
61660
|
64477
|
64478
|
64779
|
69614
|
83127
|
83128
|
85401
|
85402
|
85403
|
85887
|
85888
|
86453
|
98509
|
99060
|
99292
|
99298