Bugzilla – Attachment 21788 Details for
Bug 9352
Zebra indexes useless subfields in UNIMARC 7XX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 2] Bug 9352 : More specific indexing of UNIMARC 7XX fields (DOM)
0007-Bug-9352-More-specific-indexing-of-UNIMARC-7XX-field.patch (text/plain), 59.14 KB, created by
Mathieu Saby
on 2013-10-03 16:25:52 UTC
(
hide
)
Description:
[PATCH 2] Bug 9352 : More specific indexing of UNIMARC 7XX fields (DOM)
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2013-10-03 16:25:52 UTC
Size:
59.14 KB
patch
obsolete
>From c8bfbdc89b37876386366b33ef1d57ddba3c4586 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Mon, 11 Feb 2013 10:46:20 +0100 >Subject: [PATCH 2] Bug 9352 : More specific indexing of UNIMARC 7XX fields (DOM) >Content-Type: text/plain; charset="utf-8" > >little correction : add 2 lines for "index_all" in the begining and the end of biblio-zebra-indexdefs.xsl >(biblio-zebra-indexdefs.xsl is made from biblio-koha-indexdefs.xml with xsltproc) > >2d patch, for DOM indexing >Same test as first patch : >Testing : >a/ Create a record with : >700$a Doe $b John $f1950 $cteacher $4070 >710$a Corporate $b Meeting $q Address >716$a Trademark $f1960 $cgreat $4340 >720$a Family $f1980 $4651 >205$a 1st edition $fBy some guy $gAnd other guys > >b/ Before applying patch, make several searches : >Search in simple search and author search : "teacher", "great", "Address", "1950", "1960", "070", "340", "651" >=> you will see the record among the results >Search in simple search and author search : "Doe", "John Doe", "Trademark", "Family","corporate", "meeting" >=> you will see the record among the results >Search in simple search and author search : "guy", "guys" >=> you will see the record among the results with simple search (because 205 is indexed in title) >=> you will not see the record among the results with author search > >c/ Apply patch >d/ Rebuild Zebra with ./misc/migration_tools/rebuild_zebra.pl -b -x -v -reset > >e/ Try the same searches as before : >Search in simple search and author search : "teacher", "great", "Address", "1950", "1960", "070", "340", "651" >=> you will not see the record among the results >Search in simple search and author search : "Doe", "John Doe", "Trademark", "Family","corporate", "meeting" >=> you will see the record among the results >Search in simple search and author search : "guy", "guys" >=> you will see the record among the results in both simple search and author search > >--- > .../unimarc/biblios/biblio-koha-indexdefs.xml | 431 ++++++++++++++++++-- > .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 382 ++++++++++++----- > 2 files changed, 666 insertions(+), 147 deletions(-) > >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >index ceaba51..93ca8e3 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -243,12 +243,22 @@ > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> > </index_subfields> >- <!--record.abs line 96: melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <!--record.abs melm 205$f Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="205" subfields="f"> >+ <target_index>Author:w</target_index> >+ <target_index>Author:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 205$g Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="205" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Author:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 97: melm 700$a Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s--> >+ <!--record.abs melm 700$a Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Personal-name:w</target_index> >@@ -257,47 +267,163 @@ > <target_index>Personal-name:w</target_index> > <target_index>Author:s</target_index> > </index_subfields> >- <!--record.abs line 98: melm 700 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="700"> >+ <!--record.abs melm 700$b Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="b"> > <target_index>Author:w</target_index> > <target_index>Personal-name:w</target_index> > <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 700$d Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >- </index_data_field> >- <!--record.abs line 99: melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 700$g Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 100: melm 701 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="701"> >+ <!--record.abs melm 701$a Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Personal-name:w</target_index> > <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 701$b Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="b"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >- </index_data_field> >- <!--record.abs line 101: melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 701$d Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 701$g Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 102: melm 702 Author,Personal-name,Author:p,Personal-name:p,Personal-name:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="702"> >+ <!--record.abs melm 702$a Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Personal-name:w</target_index> > <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 702$b Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="b"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> > <target_index>Personal-name:p</target_index> >- </index_data_field> >- <!--record.abs line 105: melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 702$d Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 702$g Author,Personal-name,Author:p,Personal-name:p,Personal-name--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Personal-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Personal-name:p</target_index> >+ <target_index>Personal-name:w</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 106: 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--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="710"> >+ <!--record.abs melm 710$a 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="a"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$b 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="b"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$c 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="c"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$d 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$e 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--> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="e"> > <target_index>Author:w</target_index> > <target_index>Author-name-corporate:w</target_index> > <target_index>Author-name-conference:w</target_index> >@@ -309,13 +435,104 @@ > <target_index>Corporate-name:p</target_index> > <target_index>Conference-name:p</target_index> > </index_data_field> >- <!--record.abs line 107: melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <!--record.abs melm 710$f 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="f"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$g 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 710$h 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="h"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 108: 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--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="711"> >+ <!--record.abs melm 711$a 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="a"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$b 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="b"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$c 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="c"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$d 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$e 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--> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="e"> > <target_index>Author:w</target_index> > <target_index>Author-name-corporate:w</target_index> > <target_index>Author-name-conference:w</target_index> >@@ -327,13 +544,52 @@ > <target_index>Corporate-name:p</target_index> > <target_index>Conference-name:p</target_index> > </index_data_field> >- <!--record.abs line 110: melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <!--record.abs melm 711$f 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="f"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$g 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 711$h 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="h"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 111: 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--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="712"> >+ <!--record.abs melm 712$a 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author-name-corporate:w</target_index> > <target_index>Author-name-conference:w</target_index> >@@ -344,57 +600,148 @@ > <target_index>Author-name-conference:p</target_index> > <target_index>Corporate-name:p</target_index> > <target_index>Conference-name:p</target_index> >- </index_data_field> >- <!--record.abs line 147: melm 716$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ </index_subfields> >+ <!--record.abs melm 712$b 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="b"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$c 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="c"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$d 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="d"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$e 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="e"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$f 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="f"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$g 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="g"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 712$h 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--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="h"> >+ <target_index>Author:w</target_index> >+ <target_index>Author-name-corporate:w</target_index> >+ <target_index>Author-name-conference:w</target_index> >+ <target_index>Corporate-name:w</target_index> >+ <target_index>Conference-name:w</target_index> >+ <target_index>Author:p</target_index> >+ <target_index>Author-name-corporate:p</target_index> >+ <target_index>Author-name-conference:p</target_index> >+ <target_index>Corporate-name:p</target_index> >+ <target_index>Conference-name:p</target_index> >+ </index_subfields> >+ <!--record.abs melm 716$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="716" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 148: melm 716 Author:w,Author:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="716"> >+ <!--record.abs melm 716$a Author:w,Author:p--> >+ <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="716" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> > </index_data_field> >- <!--record.abs line 151: melm 720$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ <!--record.abs melm 720$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="720" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 152: melm 720 Author:w,Author:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="720"> >+ <!--record.abs melm 720$a Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="720" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> >- </index_data_field> >- <!--record.abs line 153: melm 721$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ </index_subfields> >+ <!--record.abs melm 721$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="721" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 154: melm 721 Author:w,Author:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="721"> >+ <!--record.abs melm 721$a Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="721" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> >- </index_data_field> >- <!--record.abs line 155: melm 722$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ </index_subfields> >+ <!--record.abs melm 722$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="722" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 156: melm 722 Author:w,Author:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="722"> >+ <!--record.abs melm 722$a Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="722" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> >- </index_data_field> >- <!--record.abs line 159: melm 730$9 Koha-Auth-Number,Koha-Auth-Number:n--> >+ </index_subfields> >+ <!--record.abs melm 730$9 Koha-Auth-Number,Koha-Auth-Number:n--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="730" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >- <!--record.abs line 160: melm 730 Author:w,Author:p--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="730"> >+ <!--record.abs melm 730$a Author:w,Author:p--> >+ <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="730" subfields="a"> > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> >- </index_data_field> >+ </index_subfields> > <!--record.abs line 115: melm 200$a Title:w,Title:p,Title:s,Title-cover:w,Title-cover:p,Title-cover:s--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="200" subfields="a"> > <target_index>Title:w</target_index> >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 f1e82e3..d586204 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >@@ -39,6 +39,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:apply-templates mode="index_heading_conditional"/> > <xslo:apply-templates mode="index_match_heading"/> > <xslo:apply-templates mode="index_subject_thesaurus"/> >+ <xslo:apply-templates mode="index_all"/> > </z:record> > </xslo:template> > <xslo:template match="marc:controlfield[@tag='001']"> >@@ -525,6 +526,22 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='205']"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('f', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </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('9', @code)"> >@@ -540,6 +557,27 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']"> > <xslo:for-each select="marc:subfield"> >@@ -549,6 +587,34 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']"> > <xslo:for-each select="marc:subfield"> >@@ -558,6 +624,34 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']"> > <xslo:for-each select="marc:subfield"> >@@ -567,6 +661,55 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('c', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('f', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('h', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']"> > <xslo:for-each select="marc:subfield"> >@@ -576,6 +719,55 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('c', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('f', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('h', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']"> > <xslo:for-each select="marc:subfield"> >@@ -585,6 +777,62 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('b', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('c', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('d', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('e', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('f', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('g', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('h', @code)"> >+ <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='716']"> > <xslo:for-each select="marc:subfield"> >@@ -603,6 +851,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']"> > <xslo:for-each select="marc:subfield"> >@@ -612,6 +867,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']"> > <xslo:for-each select="marc:subfield"> >@@ -621,6 +883,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']"> > <xslo:for-each select="marc:subfield"> >@@ -630,6 +899,13 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)"> >+ <z:index name="Author:w Author:p"> >+ <xslo:value-of select="."/> >+ </z:index> >+ </xslo:if> >+ </xslo:for-each> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='230']"> > <xslo:for-each select="marc:subfield"> >@@ -2048,45 +2324,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']"> >- <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='701']"> >- <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='702']"> >- <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='710']"> > <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> > <xslo:variable name="raw_heading"> >@@ -2113,19 +2350,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='712']"> >- <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='716']"> > <z:index name="Author:w Author:p"> > <xslo:variable name="raw_heading"> >@@ -2139,58 +2363,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='720']"> >- <z:index name="Author:w Author:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='721']"> >- <z:index name="Author:w Author:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='722']"> >- <z:index name="Author:w Author:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='730']"> >- <z:index name="Author:w Author:p"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']"> > <z:index name="Title:w Title:p"> > <xslo:variable name="raw_heading"> >@@ -2880,7 +3052,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template match="*"> >+ <xslo:template mode="index_all" match="text()"> > <z:index name="Any:w Any:p"> > <xslo:value-of select="."/> > </z:index> >-- >1.7.9.5 >
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 9352
:
14438
|
14439
|
15228
|
15229
|
17165
|
20677
|
21788
|
31031
|
31143
|
31151
|
31314
|
31380
|
31385
|
31386
|
31387
|
32097
|
32098
|
32099