[koha-commits] main Koha release repository branch master updated. v16.11.00-59-gcb3f899

Git repo owner gitmaster at git.koha-community.org
Fri Dec 16 12:30:29 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  cb3f899826966b5da1242292091aa71ab4831618 (commit)
      from  82d75e124e416aef13f11d43837438799bd850dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cb3f899826966b5da1242292091aa71ab4831618
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Dec 2 17:16:10 2016 -0300

    Bug 17547: (MARC21|NORMARC) have Chronological term field $9 indexed
    
    This patch makes Zebra index the 648$9 link for chronological terms on
    bibliographic records. This way an authority search on chronological terms
    will show the right number in 'Used in X records' message.
    
    To test:
    - Have a record with a 648 field, linked to an authority record (i.e. with an authid on 648$9).
    - Search for the record, notice it is indexed.
    - Perform an authority search for the chronological term
    => FAIL: the term is linked to our record, but koha shows '0' count.
    - Apply the patch
    - Run:
      $ cd kohaclone
      $ xsltproc etc/zebra/xsl/koha-indexdefs-to-zebra.xsl \
           etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml \
         > etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
      $ git diff
    => SUCCESS: Notice the shipped etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
       is up-to-date
    - Run:
      $ sudo cp etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl \
                /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
      $ sudo koha-restart-zebra kohadev
      $ sudo koha-rebuild-zebra -f -b -v kohadev
    - Search for the record, notice it is indexed.
    - Perform an authority search for the chronological term
    => SUCCESS: the term is linked to our record, usage count is 1
    - Sign off :-D
    
    I assume NORMARC is similar on this regard. Feel free to fail it if the NORMARC part of the
    patch is wrong.
    
    Sponsored-by: Universidad Nacional de Cordoba
    
    Signed-off-by: Hugo Agud <hagud at orex.es>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 .../marc21/biblios/biblio-koha-indexdefs.xml       |    3 +++
 .../marc21/biblios/biblio-zebra-indexdefs.xsl      |    9 ++++++++
 .../normarc/biblios/biblio-koha-indexdefs.xml      |    3 +++
 .../normarc/biblios/biblio-zebra-indexdefs.xsl     |   24 ++++++++++++++++++++
 4 files changed, 39 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list