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

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+12 lines)
Lines 117-122 Link Here
117
    <target_index>ISBN:w</target_index>
117
    <target_index>ISBN:w</target_index>
118
    <target_index>Identifier-standard:w</target_index>
118
    <target_index>Identifier-standard:w</target_index>
119
  </index_subfields>
119
  </index_subfields>
120
  <index_subfields tag="020" subfields="z">
121
    <target_index>ISBN:w</target_index>
122
    <target_index>Identifier-standard:w</target_index>
123
  </index_subfields>
120
  <!--record.abs line 55: melm 020        Identifier-standard-->
124
  <!--record.abs line 55: melm 020        Identifier-standard-->
121
  <index_data_field tag="020">
125
  <index_data_field tag="020">
122
    <target_index>Identifier-standard:w</target_index>
126
    <target_index>Identifier-standard:w</target_index>
Lines 126-131 Link Here
126
    <target_index>ISSN:w</target_index>
130
    <target_index>ISSN:w</target_index>
127
    <target_index>Identifier-standard:w</target_index>
131
    <target_index>Identifier-standard:w</target_index>
128
  </index_subfields>
132
  </index_subfields>
133
  <index_subfields tag="022" subfields="y">
134
    <target_index>ISSN:w</target_index>
135
    <target_index>Identifier-standard:w</target_index>
136
  </index_subfields>
137
  <index_subfields tag="022" subfields="z">
138
    <target_index>ISSN:w</target_index>
139
    <target_index>Identifier-standard:w</target_index>
140
  </index_subfields>
129
  <!--record.abs line 57: melm 022        Identifier-standard-->
141
  <!--record.abs line 57: melm 022        Identifier-standard-->
130
  <index_data_field tag="022">
142
  <index_data_field tag="022">
131
    <target_index>Identifier-standard:w</target_index>
143
    <target_index>Identifier-standard:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-1 / +21 lines)
Lines 140-145 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
140
        </z:index>
140
        </z:index>
141
      </xslo:if>
141
      </xslo:if>
142
    </xslo:for-each>
142
    </xslo:for-each>
143
    <xslo:for-each select="marc:subfield">
144
      <xslo:if test="contains('z', @code)">
145
        <z:index name="ISBN:w Identifier-standard:w">
146
          <xslo:value-of select="."/>
147
        </z:index>
148
      </xslo:if>
149
    </xslo:for-each>
143
  </xslo:template>
150
  </xslo:template>
144
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='022']">
151
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='022']">
145
    <xslo:for-each select="marc:subfield">
152
    <xslo:for-each select="marc:subfield">
Lines 149-154 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
149
        </z:index>
156
        </z:index>
150
      </xslo:if>
157
      </xslo:if>
151
    </xslo:for-each>
158
    </xslo:for-each>
159
    <xslo:for-each select="marc:subfield">
160
      <xslo:if test="contains('y', @code)">
161
        <z:index name="ISSN:w Identifier-standard:w">
162
          <xslo:value-of select="."/>
163
        </z:index>
164
      </xslo:if>
165
    </xslo:for-each>
166
    <xslo:for-each select="marc:subfield">
167
      <xslo:if test="contains('z', @code)">
168
        <z:index name="ISSN:w Identifier-standard:w">
169
          <xslo:value-of select="."/>
170
        </z:index>
171
      </xslo:if>
172
    </xslo:for-each>
152
  </xslo:template>
173
  </xslo:template>
153
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
174
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='024']">
154
    <xslo:for-each select="marc:subfield">
175
    <xslo:for-each select="marc:subfield">
155
- 

Return to bug 14617