View | Details | Raw Unified | Return to bug 15555
Collapse All | Expand All

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (-1 / +4 lines)
Lines 151-157 Link Here
151
  </index_data_field>
151
  </index_data_field>
152
  <!--record.abs line 59: melm 024$a      Identifier-other-->
152
  <!--record.abs line 59: melm 024$a      Identifier-other-->
153
  <index_subfields tag="024" subfields="a">
153
  <index_subfields tag="024" subfields="a">
154
    <target_index>Identifier-other:w</target_index>
154
    <target_index>Identifier-other:w Identifier-other:p</target_index>
155
  </index_subfields>
156
  <index_subfields tag="024" subfields="a" condition="marc:subfield[@code='2' and text()='uri']">
157
    <target_index>Identifier-other:u</target_index>
155
  </index_subfields>
158
  </index_subfields>
156
  <!--record.abs line 60: melm 024        Identifier-standard-->
159
  <!--record.abs line 60: melm 024        Identifier-standard-->
157
  <index_data_field tag="024">
160
  <index_data_field tag="024">
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +10 lines)
Lines 177-187 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
177
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
177
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
178
    <xslo:for-each select="marc:subfield">
178
    <xslo:for-each select="marc:subfield">
179
      <xslo:if test="contains('a', @code)">
179
      <xslo:if test="contains('a', @code)">
180
        <z:index name="Identifier-other:w">
180
        <z:index name="Identifier-other:w Identifier-other:p">
181
          <xslo:value-of select="."/>
181
          <xslo:value-of select="."/>
182
        </z:index>
182
        </z:index>
183
      </xslo:if>
183
      </xslo:if>
184
    </xslo:for-each>
184
    </xslo:for-each>
185
    <xslo:if test="marc:subfield[@code='2' and text()='uri']">
186
      <xslo:for-each select="marc:subfield">
187
        <xslo:if test="contains('a', @code)">
188
          <z:index name="Identifier-other:u">
189
            <xslo:value-of select="."/>
190
          </z:index>
191
        </xslo:if>
192
      </xslo:for-each>
193
    </xslo:if>
185
  </xslo:template>
194
  </xslo:template>
186
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
195
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
187
    <xslo:for-each select="marc:subfield">
196
    <xslo:for-each select="marc:subfield">
188
- 

Return to bug 15555