http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6540

Magnus Enger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|[email protected]       |[email protected]

--- Comment #3 from Magnus Enger <[email protected]> 2011-07-17 21:49:06 UTC 
---
Created attachment 4649
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4649
Proposed patch

This patch should make it possible to set ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE
by way of /etc/koha/koha-sites.conf

This patch does NOT create command line options for ZEBRA_MARC_FORMAT and
ZEBRA_LANGUAGE - that seems to be beyond my shell scripting abilities at the
moment, but hopefully it still a step in the right direction. 

Maybe koha-create would be a good candidate for rewriting as a Perl script
anyway, as suggested by Bug 4876, and similar to what was done for
build-git-snapshot by Bug 5602? 

To test: 
* Apply patch
* Build packages with build-git-snapshot
* Install your newly built koha-common
* Set ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE to something other than the defaults
in /etc/koha/koha-sites.conf: 
ZEBRA_MARC_FORMAT="unimarc|normarc"
ZEBRA_LANGUAGE="fr|nb"
* Create a new instance with koha-create
* Check that the values you set are reflected in the "profilePath" line in the
/etc/koha/sites/<yoursite>/zebra-* files that were created
* Check that indexing and searching works as expected

(Remember to change the example at
http://wiki.koha-community.org/wiki/Debian#Quick_Start if this gets pushed.)

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to