Bugzilla – Attachment 78152 Details for
Bug 14302
Remove GRS1 indexing related code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14302: (follow-up) Remove traces in C4::Search and C4::Context
Bug-14302-follow-up-Remove-traces-in-C4Search-and-.patch (text/plain), 1.58 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-08-24 18:47:47 UTC
(
hide
)
Description:
Bug 14302: (follow-up) Remove traces in C4::Search and C4::Context
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-08-24 18:47:47 UTC
Size:
1.58 KB
patch
obsolete
>From 858265e0e6b9828fdad5f423f4e1866279108827 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 24 Aug 2018 15:45:16 -0300 >Subject: [PATCH] Bug 14302: (follow-up) Remove traces in C4::Search and > C4::Context > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Context.pm | 7 ------- > C4/Search.pm | 4 +--- > 2 files changed, 1 insertion(+), 10 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 720fcb4dd5..9b3f74dbb2 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -608,17 +608,10 @@ sub _new_Zconn { > my $tried=0; # first attempt > my $Zconn; # connection object > my $elementSetName; >- my $index_mode; > my $syntax; > > $server //= "biblioserver"; > >- if ( $server eq 'biblioserver' ) { >- $index_mode = $context->{'config'}->{'zebra_bib_index_mode'} // 'dom'; >- } elsif ( $server eq 'authorityserver' ) { >- $index_mode = $context->{'config'}->{'zebra_auth_index_mode'} // 'dom'; >- } >- > $syntax = 'xml'; > $elementSetName = 'marcxml'; > >diff --git a/C4/Search.pm b/C4/Search.pm >index 3a3a57dc25..06e837de03 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -654,11 +654,9 @@ sub GetFacets { > my $rs = shift; > my $facets; > >- my $indexing_mode = C4::Context->config('zebra_bib_index_mode') // 'dom'; > my $use_zebra_facets = C4::Context->config('use_zebra_facets') // 0; > >- if ( $indexing_mode eq 'dom' && >- $use_zebra_facets ) { >+ if ( $use_zebra_facets ) { > $facets = _get_facets_from_zebra( $rs ); > } else { > $facets = _get_facets_from_records( $rs ); >-- >2.18.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 14302
:
60469
|
60470
|
60471
|
71570
|
71571
|
71572
|
78147
|
78148
|
78149
|
78150
|
78151
|
78152
|
78199
|
78200
|
78201
|
78202
|
78203
|
78204