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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-18 / +10 lines)
Lines 848-871 Link Here
848
    </xsl:template>
848
    </xsl:template>
849
849
850
    <xsl:template name="nameABCDN">
850
    <xsl:template name="nameABCDN">
851
        <xsl:for-each select="marc:subfield[@code='a']">
851
            <xsl:call-template name="chopPunctuation">
852
                <xsl:call-template name="chopPunctuation">
852
                <xsl:with-param name="chopString">
853
                    <xsl:with-param name="chopString" select="."/>
853
                    <xsl:call-template name="subfieldSelect">
854
                </xsl:call-template>
854
                        <xsl:with-param name="codes">abcdn</xsl:with-param>
855
        </xsl:for-each>
855
                    </xsl:call-template>
856
        <xsl:for-each select="marc:subfield[@code='b']">
856
                </xsl:with-param>
857
            <xsl:value-of select="."/>
857
                <xsl:with-param name="punctuation">
858
            <xsl:choose>
858
                    <xsl:text>:,;/ </xsl:text>
859
                <xsl:when test="position() != last()">
859
                </xsl:with-param>
860
                    <xsl:text> -- </xsl:text>
860
            </xsl:call-template>
861
                </xsl:when>
862
            </xsl:choose>
863
        </xsl:for-each>
864
        <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
865
                <xsl:call-template name="subfieldSelect">
866
                    <xsl:with-param name="codes">cdn</xsl:with-param>
867
                </xsl:call-template>
868
        </xsl:if>
869
    </xsl:template>
861
    </xsl:template>
870
862
871
    <xsl:template name="nameACDEQ">
863
    <xsl:template name="nameACDEQ">
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl (-13 / +10 lines)
Lines 881-899 Link Here
881
    </xsl:template>
881
    </xsl:template>
882
882
883
    <xsl:template name="nameABCDN">
883
    <xsl:template name="nameABCDN">
884
        <xsl:for-each select="marc:subfield[@code='a']">
884
            <xsl:call-template name="chopPunctuation">
885
                <xsl:call-template name="chopPunctuation">
885
                <xsl:with-param name="chopString">
886
                    <xsl:with-param name="chopString" select="."/>
886
                    <xsl:call-template name="subfieldSelect">
887
                </xsl:call-template>
887
                        <xsl:with-param name="codes">abcdn</xsl:with-param>
888
        </xsl:for-each>
888
                    </xsl:call-template>
889
        <xsl:for-each select="marc:subfield[@code='b']">
889
                </xsl:with-param>
890
                <xsl:value-of select="."/>
890
                <xsl:with-param name="punctuation">
891
        </xsl:for-each>
891
                    <xsl:text>:,;/ </xsl:text>
892
        <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
892
                </xsl:with-param>
893
                <xsl:call-template name="subfieldSelect">
893
            </xsl:call-template>
894
                    <xsl:with-param name="codes">cdn</xsl:with-param>
895
                </xsl:call-template>
896
        </xsl:if>
897
    </xsl:template>
894
    </xsl:template>
898
895
899
    <xsl:template name="nameACDEQ">
896
    <xsl:template name="nameACDEQ">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-18 / +10 lines)
Lines 1072-1095 Link Here
1072
    </xsl:template>
1072
    </xsl:template>
1073
1073
1074
    <xsl:template name="nameABCDN">
1074
    <xsl:template name="nameABCDN">
1075
        <xsl:for-each select="marc:subfield[@code='a']">
1075
            <xsl:call-template name="chopPunctuation">
1076
                <xsl:call-template name="chopPunctuation">
1076
                <xsl:with-param name="chopString">
1077
                    <xsl:with-param name="chopString" select="."/>
1077
                    <xsl:call-template name="subfieldSelect">
1078
                </xsl:call-template>
1078
                        <xsl:with-param name="codes">abcdn</xsl:with-param>
1079
        </xsl:for-each>
1079
                    </xsl:call-template>
1080
        <xsl:for-each select="marc:subfield[@code='b']">
1080
                </xsl:with-param>
1081
            <xsl:value-of select="."/>
1081
                <xsl:with-param name="punctuation">
1082
            <xsl:choose>
1082
                    <xsl:text>:,;/ </xsl:text>
1083
                <xsl:when test="position() != last()">
1083
                </xsl:with-param>
1084
                    <xsl:text> -- </xsl:text>
1084
            </xsl:call-template>
1085
                </xsl:when>
1086
            </xsl:choose>
1087
        </xsl:for-each>
1088
        <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
1089
                <xsl:call-template name="subfieldSelect">
1090
                    <xsl:with-param name="codes">cdn</xsl:with-param>
1091
                </xsl:call-template>
1092
        </xsl:if>
1093
    </xsl:template>
1085
    </xsl:template>
1094
1086
1095
    <xsl:template name="nameACDEQ">
1087
    <xsl:template name="nameACDEQ">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (-14 / +10 lines)
Lines 1196-1214 Link Here
1196
    </xsl:template>
1196
    </xsl:template>
1197
1197
1198
    <xsl:template name="nameABCDN">
1198
    <xsl:template name="nameABCDN">
1199
        <xsl:for-each select="marc:subfield[@code='a']">
1199
            <xsl:call-template name="chopPunctuation">
1200
                <xsl:call-template name="chopPunctuation">
1200
                <xsl:with-param name="chopString">
1201
                    <xsl:with-param name="chopString" select="."/>
1201
                    <xsl:call-template name="subfieldSelect">
1202
                </xsl:call-template>
1202
                        <xsl:with-param name="codes">abcdn</xsl:with-param>
1203
        </xsl:for-each>
1203
                    </xsl:call-template>
1204
        <xsl:for-each select="marc:subfield[@code='b']">
1204
                </xsl:with-param>
1205
                <xsl:value-of select="."/>
1205
                <xsl:with-param name="punctuation">
1206
        </xsl:for-each>
1206
                    <xsl:text>:,;/ </xsl:text>
1207
        <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
1207
                </xsl:with-param>
1208
                <xsl:call-template name="subfieldSelect">
1208
            </xsl:call-template>
1209
                    <xsl:with-param name="codes">cdn</xsl:with-param>
1210
                </xsl:call-template>
1211
        </xsl:if>
1212
    </xsl:template>
1209
    </xsl:template>
1213
1210
1214
    <xsl:template name="nameACDEQ">
1211
    <xsl:template name="nameACDEQ">
1215
- 

Return to bug 12465