[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 25 18:34:17 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.poulain at biblibre.com
--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> ---
QA comment:
* are the following lines related to this fix ?:
- <xslo:template mode="index_heading_conditional"
match="marc:datafield[@tag='450']">
+ <xslo:template mode="index_heading_conditional">
...
+ <xslo:template match="text()" mode="index_heading_conditional"/>
...
+ <xslo:apply-templates mode="index_heading_conditional"/>
* OK for
- <target_index>materials-specified :w</target_index>
+ <target_index>materials-specified:w</target_index>
* not sure I understand what does:
- <xslo:variable name="controlField001"
select="normalize-space(marc:controlfield[@tag='001'])"/>
+ <xslo:variable name="idfield"
select="normalize-space(marc:controlfield[@tag='001'])"/>
<z:record type="update">
<xslo:attribute name="z:id">
- <xslo:value-of select="$controlField001"/>
+ <xslo:value-of select="$idfield"/>
(in authority-zebra-indexdefs) : it does "nothing" except changing the variable
to be consistent with biblio-zebra-indexdefs, right ?
(for biblio, the change is in the variable name AND in what it is filled with:
- <xslo:variable name="controlField001"
select="normalize-space(marc:controlfield[@tag='001'])"/>
+ <xslo:variable name="idfield"
select="normalize-space(marc:datafield[@tag='999']/marc:subfield[@code='c'])"/>
)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list