Bugzilla – Attachment 27000 Details for
Bug 8992
Add an interfacing with the idref webservice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8992: Update DOM xsl file for new indexes
Bug-8992-Update-DOM-xsl-file-for-new-indexes.patch (text/plain), 4.37 KB, created by
Jonathan Druart
on 2014-04-11 09:39:55 UTC
(
hide
)
Description:
Bug 8992: Update DOM xsl file for new indexes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-04-11 09:39:55 UTC
Size:
4.37 KB
patch
obsolete
>From 45a10b9543eda8dff3efbd729444780535e89b02 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 11 Apr 2014 11:38:12 +0200 >Subject: [PATCH] Bug 8992: Update DOM xsl file for new indexes > >This file has been manually updated (very fun). >--- > .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 42 ++++++++++++++++++++ > 1 file changed, 42 insertions(+) > >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >index c1a41aa..50f8f2c 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >@@ -656,6 +656,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >@@ -672,6 +679,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >@@ -681,6 +695,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >@@ -690,6 +711,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >@@ -699,6 +727,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >@@ -708,6 +743,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']"> > <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('3', @code)"> >+ <z:index name="Identifier-standard:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> > <xslo:value-of select="."/> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8992
:
13134
|
13142
|
21119
|
21182
|
21641
|
25358
|
25359
|
25365
|
25399
|
26998
|
26999
|
27000
|
27460
|
27462
|
27463
|
27464
|
29012
|
29165
|
29166
|
29167
|
29168
|
29169
|
30920
|
32123
|
35012
|
35013
|
35014
|
35015
|
35016
|
35017
|
35020
|
35022
|
35023
|
35024
|
35025
|
35026
|
35027
|
38639
|
39564
|
39565