|
Lines 159-164
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 159 |
</xslo:if> |
159 |
</xslo:if> |
| 160 |
</xslo:for-each> |
160 |
</xslo:for-each> |
| 161 |
</xslo:template> |
161 |
</xslo:template> |
|
|
162 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='035']"> |
| 163 |
<xslo:for-each select="marc:subfield"> |
| 164 |
<xslo:if test="contains('a', @code)"> |
| 165 |
<z:index name="Other-control-number:w"> |
| 166 |
<xslo:value-of select="."/> |
| 167 |
</z:index> |
| 168 |
</xslo:if> |
| 169 |
</xslo:for-each> |
| 170 |
<xslo:for-each select="marc:subfield"> |
| 171 |
<xslo:if test="contains('z', @code)"> |
| 172 |
<z:index name="Other-control-number:w"> |
| 173 |
<xslo:value-of select="."/> |
| 174 |
</z:index> |
| 175 |
</xslo:if> |
| 176 |
</xslo:for-each> |
| 177 |
</xslo:template> |
| 162 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='041']"> |
178 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='041']"> |
| 163 |
<xslo:for-each select="marc:subfield"> |
179 |
<xslo:for-each select="marc:subfield"> |
| 164 |
<xslo:if test="contains('a', @code)"> |
180 |
<xslo:if test="contains('a', @code)"> |
|
Lines 1527-1532
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 1527 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
1543 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1528 |
</z:index> |
1544 |
</z:index> |
| 1529 |
</xslo:template> |
1545 |
</xslo:template> |
|
|
1546 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='035']"> |
| 1547 |
<z:index name="Other-control-number:w"> |
| 1548 |
<xslo:variable name="raw_heading"> |
| 1549 |
<xslo:for-each select="marc:subfield"> |
| 1550 |
<xslo:if test="position() > 1"> |
| 1551 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1552 |
</xslo:if> |
| 1553 |
<xslo:value-of select="."/> |
| 1554 |
</xslo:for-each> |
| 1555 |
</xslo:variable> |
| 1556 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1557 |
</z:index> |
| 1558 |
</xslo:template> |
| 1530 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='037']"> |
1559 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='037']"> |
| 1531 |
<z:index name="Identifier-standard:w Stock-number:w"> |
1560 |
<z:index name="Identifier-standard:w Stock-number:w"> |
| 1532 |
<xslo:variable name="raw_heading"> |
1561 |
<xslo:variable name="raw_heading"> |