Bugzilla – Attachment 24123 Details for
Bug 11499
zebra_setup.pl not correctly setting indexing mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11499: UT: Make zebra_setup.pl correctly set indexing mode
Bug-11499-UT-Make-zebrasetuppl-correctly-set-index.patch (text/plain), 1.26 KB, created by
Kyle M Hall (khall)
on 2014-01-10 13:19:23 UTC
(
hide
)
Description:
Bug 11499: UT: Make zebra_setup.pl correctly set indexing mode
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-01-10 13:19:23 UTC
Size:
1.26 KB
patch
obsolete
>From 588d89e23286e6ccdca29289a4a3650f82d0ebb3 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Wed, 8 Jan 2014 12:21:42 -0300 >Subject: [PATCH] Bug 11499: UT: Make zebra_setup.pl correctly set indexing mode > >By adding the relevant environment variables to the script the generated >koha-conf.xml file for the unit tests is correct now. > >Test plan: >- Verify that tests pass now: > $ prove -v t/db_dependent/Search.t 2> /dev/null | grep 11499 > >Sponsored-by: Universidad Nacional de Cordoba >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Passes unit test, koha-qa.pl >--- > t/db_dependent/zebra_config.pl | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/t/db_dependent/zebra_config.pl b/t/db_dependent/zebra_config.pl >index 1395508..47854da 100755 >--- a/t/db_dependent/zebra_config.pl >+++ b/t/db_dependent/zebra_config.pl >@@ -12,6 +12,9 @@ my $destination = $ARGV[0]; > my $marc_type = $ARGV[1] || 'marc21'; > my $indexing_mode = $ARGV[2] || 'grs1'; > >+$ENV{__BIB_INDEX_MODE__} = $indexing_mode; >+$ENV{__AUTH_INDEX_MODE__} = $indexing_mode; >+ > $ENV{__ZEBRA_MARC_FORMAT__} = $marc_type; > if ($indexing_mode eq 'dom') { > $ENV{__ZEBRA_BIB_CFG__} = 'zebra-biblios-dom.cfg'; >-- >1.7.2.5
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 11499
:
24014
|
24015
|
24021
|
24022
|
24122
| 24123