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 176-186 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
176
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
176
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
177
    <xslo:for-each select="marc:subfield">
177
    <xslo:for-each select="marc:subfield">
178
      <xslo:if test="contains('a', @code)">
178
      <xslo:if test="contains('a', @code)">
179
        <z:index name="Identifier-other:w">
179
        <z:index name="Identifier-other:w Identifier-other:p">
180
          <xslo:value-of select="."/>
180
          <xslo:value-of select="."/>
181
        </z:index>
181
        </z:index>
182
      </xslo:if>
182
      </xslo:if>
183
    </xslo:for-each>
183
    </xslo:for-each>
184
    <xslo:if test="marc:subfield[@code='2' and text()='uri']">
185
      <xslo:for-each select="marc:subfield">
186
        <xslo:if test="contains('a', @code)">
187
          <z:index name="Identifier-other:u">
188
            <xslo:value-of select="."/>
189
          </z:index>
190
        </xslo:if>
191
      </xslo:for-each>
192
    </xslo:if>
184
  </xslo:template>
193
  </xslo:template>
185
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
194
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
186
    <xslo:for-each select="marc:subfield">
195
    <xslo:for-each select="marc:subfield">
187
- 

Return to bug 15555