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 (-15 / +11 lines)
Lines 879-899 Link Here
879
                </xsl:with-param>
879
                </xsl:with-param>
880
            </xsl:call-template>
880
            </xsl:call-template>
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">
900
- 

Return to bug 12465