Bugzilla – Attachment 27463 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: Add 7..$3 to the Indentifier-standard index
Bug-8992-Add-73-to-the-Indentifier-standard-index.patch (text/plain), 6.20 KB, created by
Jonathan Druart
on 2014-04-23 11:40:25 UTC
(
hide
)
Description:
Bug 8992: Add 7..$3 to the Indentifier-standard index
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-04-23 11:40:25 UTC
Size:
6.20 KB
patch
obsolete
>From dafd73821fce7479e2915f33b4a8efccb4e02dd0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 23 Apr 2014 13:34:03 +0200 >Subject: [PATCH] Bug 8992: Add 7..$3 to the Indentifier-standard index > >--- > .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 42 ++++++++++++++++++++ > etc/zebradb/marc_defs/unimarc/biblios/record.abs | 7 ++++ > 2 files changed, 49 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="."/> >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >index 52de476..2a22a63 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs >+++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >@@ -144,20 +144,27 @@ melm 200$f Author:w,Author:p > # other Authors > melm 200$g Author:w,Author:p > # physical Author >+melm 700$3 Identifier-standard:w > melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 700$a Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s > melm 700 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p >+melm 701$3 Identifier-standard:w > melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 701 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p >+melm 702$3 Identifier-standard:w > melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 702 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p > > # collective Author >+melm 710$3 Identifier-standard:w > melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 710 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p >+ >+melm 711$3 Identifier-standard:w > melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 711 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p > >+melm 712$3 Identifier-standard:w > melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n > melm 712 Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p > >-- >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