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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1ecf5ee106
commit
45fee768e9
|
|
@ -1065,6 +1065,7 @@ sub getIndexes{
|
|||
'mc-itemtype',
|
||||
'mc-rtype',
|
||||
'mus',
|
||||
'Multipart-resource-level',
|
||||
'name',
|
||||
'Music-number',
|
||||
'Name-geographic',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue