@@ -, +, @@ zebra indexes to RDA 264 field. The new Provider index is added too. The XSLT for staff and OPAC has been updated to reflect the index. --- C4/Search.pm | 3 + etc/zebradb/biblios/etc/bib1.att | 4 + etc/zebradb/ccl.properties | 9 ++ .../marc21/biblios/biblio-koha-indexdefs.xml | 47 +++++++++ .../marc21/biblios/biblio-zebra-indexdefs.xsl | 100 ++++++++++++++++++++ etc/zebradb/marc_defs/marc21/biblios/record.abs | 12 +++ .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 4 +- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 4 +- .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 17 +++- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 4 +- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 4 +- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 17 +++- 12 files changed, 219 insertions(+), 6 deletions(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -1198,6 +1198,9 @@ sub getIndexes{ 'popularity', 'pubdate', 'Publisher', + 'Provider', + 'Provider-place', + 'Provider-date', 'Record-control-number', 'rcn', 'Record-type', --- a/etc/zebradb/biblios/etc/bib1.att +++ a/etc/zebradb/biblios/etc/bib1.att @@ -205,6 +205,7 @@ att 1221 Subject-occupation att 1222 Subject-function att 1223 Edition att 1224 GPO-Item-Number +att 1225 Provider # Koha Local-Use Biblio Indexes att 9001 Control-number @@ -219,6 +220,9 @@ att 9009 cn-prefix att 9010 cn-suffix att 9011 Suppress att 9012 Identifier-other +#att 9013 arp +att 9014 Provider-place +att 9015 Provider-date # Items Index att 8001 withdrawn --- a/etc/zebradb/ccl.properties +++ a/etc/zebradb/ccl.properties @@ -578,6 +578,15 @@ Personal-name-seealso 1=Personal-name-seealso Publisher 1=1018 pb Publisher +#Provider 1225 A generic, single index 257$a2 +# combining place, publisher, 260$abcdefg3 +# and date. To avoid searching 264$abc3 +# multiple indexes for 270$abcd +# publication/production info. +Provider 1=1225 +Provider-place 1=9014 +Provider-date 1=9015 + #Note 63 A concise statement in which 5XX # such information as extended # physical description, --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -431,6 +431,53 @@ pl:w + + + Provider-place:w + Provider-place:p + + + Provider:w + Provider:p + + + Provider-date:w + Provider-date:s + + + Provider:w + + + + pl:w + pl:p + + + Publisher:w + Publisher:p + + + copydate:w + copydate:s + + + pl:w + + + Provider-place:w + Provider-place:p + + + Provider:w + Provider:p + + + Provider-date:w + Provider-date:s + + + Provider:w + Extent:w --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -339,6 +339,71 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1851,6 +1916,41 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ a/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -129,6 +129,18 @@ melm 260$a pl:w,pl:p melm 260$b Publisher:w,Publisher:p melm 260$c copydate,copydate:s melm 260 pl +melm 260$a Provider-place:w,Provider-place:p +melm 260$b Provider:w,Provider:p +melm 260$c Provider-date,Provider-date:s +melm 260 Provider +melm 264$a pl:w,pl:p +melm 264$b Publisher:w,Publisher:p +melm 264$c copydate,copydate:s +melm 264 pl +melm 264$a Provider-place:w,Provider-place:p +melm 264$b Provider:w,Provider:p +melm 264$c Provider-date,Provider-date:s +melm 264 Provider melm 300 Extent:w,Extent:p melm 400$a Name-and-title melm 400$t Author-title,Name-and-title,Title,Title-series --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -338,7 +338,9 @@ - + + 1 + --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -780,7 +780,9 @@ - + + 0 + --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -217,6 +217,7 @@ Publisher-latest or Publisher or 'Other'-latest or 'Other' The preferred tag is saved in the fav variable and passed to a helper named-template --> + @@ -224,6 +225,7 @@ + @@ -231,6 +233,7 @@ + @@ -238,6 +241,7 @@ + @@ -245,12 +249,14 @@ + + @@ -268,7 +274,16 @@ - + + + + + + + + + + --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -374,7 +374,9 @@ - + + 1 + --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -939,7 +939,9 @@ - + + 0 + --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -215,6 +215,7 @@ Publisher-latest or Publisher or 'Other'-latest or 'Other' The preferred tag is saved in the fav variable and passed to a helper named-template --> + @@ -222,6 +223,7 @@ + @@ -229,6 +231,7 @@ + @@ -236,6 +239,7 @@ + @@ -243,12 +247,14 @@ + + @@ -266,7 +272,16 @@ - + + + + + + + + + + --