[Koha-bugs] [Bug 9972] Add/ change some zebra indexes (MARC21) (GRS1+DOM)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 18 12:03:12 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9972
M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #9 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Hi Mirko,
You seem to mix up 653 [uncontrolled] and 655 [genre] here:
@@ -587,6 +587,13 @@ definition file (probably something like
{biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
<xslo:for-each select="marc:subfield">
+ <xslo:if test="contains('a', @code)">
+ <z:index name="Index-term-genre:w Index-term-genre:p Subject:w
Subject:p">
+ <xslo:value-of select="."/>
+ </z:index>
+ </xslo:if>
+ </xslo:for-each>
+ <xslo:for-each select="marc:subfield">
Also a question: You modify both files for DOM. But is that how it should be
done? Or is the change you submit a result of generating the other file again
with the script?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list