[Koha-bugs] [Bug 8252] Error in DOM biblio for UNIMARC (no range for fields 1xx)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 10 15:30:44 CEST 2013


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

--- Comment #49 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 21948
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21948&action=edit
Bug 8852 XSL handling sufield substring extraction

This patch modify koha-indexdefs-to-zebra.xsl in order to add the
ability to populate indexes with subfield substring.

It's now possible to understand such construction as:

<index_subfields xmlns="http://..." tag="100" subfields="a" offset="7"
length="1">
  <target_index>tpubdate:s</target_index>
</index_subfields>

Signed-off-by:Mathieu Saby <mathieu.saby at univ-rennes2.fr>
I applied the patch and run xsltproc koha-indexdefs-to-zebra.xsl
../marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >
../marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
I lookes at the generated file. It looks nice.
Then I copied it file in my INSTALLDIR/etc/zebra.... and reindexed my records
with rebuild_zebra.pl
I made some searches on coded position index and non coded position indexes,
everything works.

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

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

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


More information about the Koha-bugs mailing list