Bugzilla – Attachment 126419 Details for
Bug 20463
Create an index for LDR, pos 19 - Multipart resource record level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20463: Adding index for Leader 19 Multipart resource record level
Bug-20463-Adding-index-for-Leader-19-Multipart-res.patch (text/plain), 4.54 KB, created by
Nick Clemens
on 2021-10-18 10:04:36 UTC
(
hide
)
Description:
Bug 20463: Adding index for Leader 19 Multipart resource record level
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2021-10-18 10:04:36 UTC
Size:
4.54 KB
patch
obsolete
>From 0b899c212f577f5cedf1c8fae0cc450595e4b074 Mon Sep 17 00:00:00 2001 >From: Hayley Pelham <hayleypelham@catalyst.net.nz> >Date: Tue, 27 Jul 2021 04:49:24 +0000 >Subject: [PATCH] Bug 20463: Adding index for Leader 19 Multipart resource > record level > >Sponsored-by: Bibliotheksservice-Zentrum Baden-Wuerttemberg > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Search.pm | 1 + > etc/zebradb/biblios/etc/bib1.att | 1 + > etc/zebradb/ccl.properties | 7 +++++++ > .../marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 3 +++ > .../marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 3 +++ > .../intranet-tmpl/prog/en/includes/search_indexes.inc | 2 ++ > 6 files changed, 17 insertions(+) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 441cbc1c6b..faa6bab600 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1065,6 +1065,7 @@ sub getIndexes{ > 'mc-itemtype', > 'mc-rtype', > 'mus', >+ 'Multipart-resource-level', > 'name', > 'Music-number', > 'Name-geographic', >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index 57df88386b..94622eb13f 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -164,6 +164,7 @@ att 1093 Identifier-ISRN > att 1094 Identifier-DOI > att 1095 language-original > att 1096 Title-later >+att 1097 Multipart-resource-level > > att 1185 Performer > att 1186 Performer-Individual >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index 53f042c184..5940066485 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -492,6 +492,13 @@ Material-type 1=1031 > # 700, 730 > #Music-key 1=1025 > >+#Multipart-record-level 1=1097 Record level to which a resource derived from Leader/19 >+# pertains and any record >+# dependencies. This information >+# will facilitate processing the >+# record in different situations. >+Multipart-resource-level 1=1097 >+ > #Name 1002 The name of a person, corporate 100, 110, 111, 400, > # body, conference, or meeting. 410, 411, 600, 610, > # (Subject name headings are 611, 700, 710, 711, >diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >index 660e087973..dbc9ef88fc 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >@@ -12,6 +12,9 @@ > <index_leader offset="7" length="1"> > <target_index>Bib-level:w</target_index> > </index_leader> >+ <index_leader offset="19" length="1"> >+ <target_index>Multipart-resource-level:w</target_index> >+ </index_leader> > <!--record.abs line 43: melm 001 Control-number--> > <index_control_field tag="001"> > <target_index>Control-number:w</target_index> >diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >index ec11e961a0..0b689ca6e2 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -56,6 +56,9 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <z:index name="Bib-level:w"> > <xslo:value-of select="substring(., 8, 1)"/> > </z:index> >+ <z:index name="Multipart-resource-level:w"> >+ <xslo:value-of select="substring(., 20, 1)"/> >+ </z:index> > </xslo:template> > <xslo:template match="marc:controlfield[@tag='001']"> > <z:index name="Control-number:w"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >index d4ee49148b..272a6156b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >@@ -182,4 +182,6 @@ > [% ELSE %] > <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option> > [% END %] >+ >+ <option value="Multipart-resource-level">Multipart resource record level</option> > </select> >-- >2.20.1
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 20463
:
123238
|
123355
|
123458
|
123459
|
123460
| 126419 |
126420
|
126421