[Koha-bugs] [Bug 9778] display and change easily OPAC visibility status in staff interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 23 13:55:27 CET 2013


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

--- Comment #7 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
I will not have time to work on that, so I set the bug to NEW.

In case  someone will want to work on that:
For mapping Zebra suppress index to database, it could be done that way in
updatedatabase (or a little script called by updatedatabase?) for UNIMARC Koha:
* get the value of the zebra conf directory:
Maybe there is an environment variable for that?
If not, it can be guessed from koha_conf.xml:

<server id="biblioserver"  listenref="biblioserver"> 
    <directory>/home/msaby/kohamaster/var/lib/zebradb/biblios</directory>
    <config>/home/msaby/kohamaster/etc/zebradb/zebra-biblios-dom.cfg</config>
=> the path to zebra config directory is "/home/msaby/kohamaster/etc/zebradb/"
on my VM.

* check if Koha is running with GRS1 or DOM
If there is no other way, look at <zebra_bib_index_mode> line in koha-conf.xml.

* search the field and subfield of  Suppress index either 
$zebraconfdir/marcflavor/unimarc/biblio/record.abs or
$zebraconfdir/marcflavor/unimarc/biblio/biblio-zebra-indexdefs.xsl

Mathieu

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list