[Koha-bugs] [Bug 14453] kohaidx is missing for id in authority-koha-indexdefs.xml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 25 11:44:51 CEST 2015


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

Mirko Tietgen <mirko at abunchofthings.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mirko at abunchofthings.net
             Status|Needs Signoff               |Signed Off

--- Comment #3 from Mirko Tietgen <mirko at abunchofthings.net> ---
Before the patch

/usr/bin/xsltproc /home/mirko/koha/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl.bug14453

diff authority-zebra-indexdefs.xsl authority-zebra-indexdefs.xsl.bug14453

14a15
>   <xslo:template match="text()" mode="index_facets"/>
30c31
<     <xslo:variable name="idfield"
select="normalize-space(marc:controlfield[@tag='001'])"/>
---
>     <xslo:variable name="idfield" select="normalize-space()"/>
37a39
>       <xslo:apply-templates mode="index_facets"/>



After the patch

/usr/bin/xsltproc /home/mirko/koha/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl.bug14453patched

diff authority-zebra-indexdefs.xsl
authority-zebra-indexdefs.xsl.bug14453patched 

14a15
>   <xslo:template match="text()" mode="index_facets"/>
37a39
>       <xslo:apply-templates mode="index_facets"/>


The patch fixes the problem in the description.

There seem to be two other differences between the standard file and the
generated output?

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


More information about the Koha-bugs mailing list