Bug 8992: Add 7..$3 to the Indentifier-standard index

Signed-off-by: valerie bertrand <valerie.bertrand@univ-lyon3.fr>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This commit is contained in:
Jonathan Druart 2015-01-07 16:12:04 +01:00 committed by Tomas Cohen Arazi
parent 28ef6c56da
commit b5e9691060
3 changed files with 73 additions and 0 deletions

View File

@ -297,6 +297,10 @@
<target_index>Author:p</target_index>
</index_subfields>
<!--record.abs line 96: melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="700" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="700" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
@ -319,6 +323,10 @@
<target_index>Personal-name:p</target_index>
</index_data_field>
<!--record.abs line 99: melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="701" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="701" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
@ -332,6 +340,10 @@
<target_index>Personal-name:p</target_index>
</index_data_field>
<!--record.abs line 101: melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="702" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="702" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
@ -345,6 +357,10 @@
<target_index>Personal-name:p</target_index>
</index_data_field>
<!--record.abs line 105: melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="710" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="710" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
@ -363,6 +379,10 @@
<target_index>Conference-name:p</target_index>
</index_data_field>
<!--record.abs line 107: melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="711" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="711" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
@ -381,6 +401,10 @@
<target_index>Conference-name:p</target_index>
</index_data_field>
<!--record.abs line 110: melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n-->
<index_subfields tag="712" subfields="3">
<target_index>Identifier-standard:w</target_index>
</index_subfields>
<index_subfields tag="712" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>

View File

@ -641,6 +641,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">
@ -657,6 +664,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">
@ -666,6 +680,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">
@ -675,6 +696,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">
@ -684,6 +712,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">
@ -693,6 +728,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
</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">

View File

@ -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