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

Return to bug 15555