Bugzilla – Attachment 56256 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 - (Rebase followups)
Bug-14567---Rebase-followups.patch (text/plain), 1.55 KB, created by
Nick Clemens (kidclamp)
on 2016-10-12 11:50:50 UTC
(
hide
)
Description:
Bug 14567 - (Rebase followups)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-10-12 11:50:50 UTC
Size:
1.55 KB
patch
obsolete
>From b3c860424aa9ec3f16e665ef4f4db3e36cfa1b9f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 12 Oct 2016 11:44:48 +0000 >Subject: [PATCH] Bug 14567 - (Rebase followups) > >--- > Koha/SearchEngine/Elasticsearch/Search.pm | 2 +- > opac/opac-browse.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/Search.pm b/Koha/SearchEngine/Elasticsearch/Search.pm >index 8035bc3..3db56fa 100644 >--- a/Koha/SearchEngine/Elasticsearch/Search.pm >+++ b/Koha/SearchEngine/Elasticsearch/Search.pm >@@ -196,7 +196,7 @@ sub search_compat { > # consumers of this expect a name-spaced result, we provide the default > # configuration. > my %result; >- $result{biblioserver}{hits} = $all_results->{hits}; >+ $result{biblioserver}{hits} = $results->{hits}; > $result{biblioserver}{RECORDS} = \@records; > return (undef, \%result, $self->_convert_facets($results->{facets}, $expanded_facet)); > } >diff --git a/opac/opac-browse.pl b/opac/opac-browse.pl >index eb242f1..40b528d 100755 >--- a/opac/opac-browse.pl >+++ b/opac/opac-browse.pl >@@ -79,7 +79,7 @@ elsif ( $api eq 'GetResults' ) { > my $term = $query->param('term'); > my $field = $query->param('field'); > >- my $builder = Koha::SearchEngine::Elasticsearch::QueryBuilder->new(); >+ my $builder = Koha::SearchEngine::Elasticsearch::QueryBuilder->new( { index => 'biblios' } ); > my $searcher = Koha::SearchEngine::Elasticsearch::Search->new( > { index => $Koha::ElasticSearch::BIBLIOS_INDEX } ); > >-- >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