Bug 11202 introduced a new index 'dissertation-information' for
UNIMARC. This patch adds the index also for MARC21 installations.
http://www.loc.gov/marc/bibliographic/bd502.html
To test:
- Apply patch
- Copy files in etc/zebradb changed by this patch to your
corresponding directory (koha-dev..)
- Make sure you have records with 502
- Reindex
- Verify you can search the field contents with
dissertation-information= and
diss=
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Can find by dissertation-information,
No errors
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
'Date-of-publication',
'Dewey-classification',
'Dissertation-information',
+ 'diss',
'EAN',
'extent',
'fic',
# publication connected with an
# academic degree.
Dissertation-information 1=1056
+diss Dissertation-information
#EAN 1214 European article number UNIMARC 073
EAN 1=1214
<!--record.abs line 147: melm 502 Material-type-->
<index_data_field tag="502">
<target_index>Material-type:w</target_index>
+ <target_index>Dissertation-information:p</target_index>
+ <target_index>Dissertation-information:w</target_index>
</index_data_field>
<!--record.abs line 148: melm 505$r Author-->
<index_subfields tag="505" subfields="r">
</z:index>
</xslo:template>
<xslo:template mode="index_data_field" match="marc:datafield[@tag='502']">
- <z:index name="Material-type:w">
+ <z:index name="Material-type:w Dissertation-information:p Dissertation-information:w">
<xslo:variable name="raw_heading">
<xslo:for-each select="marc:subfield">
<xslo:if test="position() > 1">