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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-4 / +12 lines)
Lines 413-419 Link Here
413
        <span class="results_summary series"><span class="label">Series: </span>
413
        <span class="results_summary series"><span class="label">Series: </span>
414
        <!-- 440 -->
414
        <!-- 440 -->
415
        <xsl:for-each select="marc:datafield[@tag=440 and @ind1!='z']">
415
        <xsl:for-each select="marc:datafield[@tag=440 and @ind1!='z']">
416
            <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
416
            <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:<xsl:call-template name="quote_search_term">
417
                        <xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code='a']"/></xsl:with-param>
418
                    </xsl:call-template>
419
                </xsl:attribute>
417
            <xsl:call-template name="chopPunctuation">
420
            <xsl:call-template name="chopPunctuation">
418
                            <xsl:with-param name="chopString">
421
                            <xsl:with-param name="chopString">
419
                                <xsl:call-template name="subfieldSelect">
422
                                <xsl:call-template name="subfieldSelect">
Lines 438-444 Link Here
438
441
439
        <!-- 490 Series not traced, Ind1 = 0 -->
442
        <!-- 490 Series not traced, Ind1 = 0 -->
440
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
443
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
441
            <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
444
            <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:<xsl:call-template name="quote_search_term">
445
                        <xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code='a']"/></xsl:with-param>
446
                    </xsl:call-template>
447
                </xsl:attribute>
442
                        <xsl:call-template name="chopPunctuation">
448
                        <xsl:call-template name="chopPunctuation">
443
                            <xsl:with-param name="chopString">
449
                            <xsl:with-param name="chopString">
444
                                <xsl:call-template name="subfieldSelect">
450
                                <xsl:call-template name="subfieldSelect">
Lines 538-544 Link Here
538
                    </a>
544
                    </a>
539
                </xsl:when>
545
                </xsl:when>
540
                <xsl:otherwise>
546
                <xsl:otherwise>
541
                    <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
547
                    <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=se,phr:<xsl:call-template name="quote_search_term">
548
                        <xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code='a']"/></xsl:with-param>
549
                    </xsl:call-template>
550
                </xsl:attribute>
542
                        <xsl:call-template name="chopPunctuation">
551
                        <xsl:call-template name="chopPunctuation">
543
                            <xsl:with-param name="chopString">
552
                            <xsl:with-param name="chopString">
544
                                <xsl:call-template name="subfieldSelect">
553
                                <xsl:call-template name="subfieldSelect">
545
- 

Return to bug 40569