Koha-clms/etc/zebradb
Tomas Cohen Arazi aba1538c4b 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@orex.es>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit cb3f899826)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 80955d365a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2017-01-02 12:27:44 +01:00
..
authorities/etc Bug 9612: (follow-up) restore elementSetName in Context.pm 2014-05-19 16:46:57 +00:00
biblios/etc Bug 14198: RDA: Indexing 264 field (Zebra) 2015-11-02 11:41:36 -03:00
etc Bug 14542: Transliterate rule for all single quote forms 2015-11-16 15:45:21 -03:00
lang_defs Bug 14824: Fix sorting of Norwegian vowels 2015-10-26 11:19:03 -03:00
marc_defs Bug 17547: (MARC21|NORMARC) have Chronological term field $9 indexed 2017-01-02 12:27:44 +01:00
xsl Bug 14217: Add 'condition' attribute for DOM index definition 2015-09-25 11:53:24 -03:00
ccl.properties Bug 15694: Add aliases for date/time last modified 2016-03-14 10:41:03 +01:00
cql.properties
…
explain-authorities.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
explain-biblios.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
pqf.properties
…
retrieval-info-auth-dom.xml Bug 9612: fix SRU response for DOM indexing 2014-05-05 20:28:04 +00:00
retrieval-info-auth-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
retrieval-info-bib-dom.xml Bug 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03:00
retrieval-info-bib-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
zebra-authorities-dom.cfg Bug 17035 - Koha allows system-wide 'read' access to all Koha zebra databases, by default 2016-10-24 11:43:16 +02:00
zebra-authorities.cfg Bug 17035 - Koha allows system-wide 'read' access to all Koha zebra databases, by default 2016-10-24 11:43:16 +02:00
zebra-biblios-dom.cfg Bug 17035 - Koha allows system-wide 'read' access to all Koha zebra databases, by default 2016-10-24 11:43:16 +02:00
zebra-biblios.cfg Bug 17035 - Koha allows system-wide 'read' access to all Koha zebra databases, by default 2016-10-24 11:43:16 +02:00