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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-3 / +3 lines)
Lines 411-417 Link Here
411
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
411
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
412
        <span class="results_summary series"><span class="label">Series: </span>
412
        <span class="results_summary series"><span class="label">Series: </span>
413
        <!-- 440 -->
413
        <!-- 440 -->
414
        <xsl:for-each select="marc:datafield[@tag=440]">
414
        <xsl:for-each select="marc:datafield[@tag=440 and @ind1!='z']">
415
            <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>
415
            <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
            <xsl:call-template name="chopPunctuation">
416
            <xsl:call-template name="chopPunctuation">
417
                            <xsl:with-param name="chopString">
417
                            <xsl:with-param name="chopString">
Lines 461-467 Link Here
461
        </xsl:for-each>
461
        </xsl:for-each>
462
        <!-- 490 Series traced, Ind1 = 1 -->
462
        <!-- 490 Series traced, Ind1 = 1 -->
463
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
463
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
464
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811]">
464
            <xsl:for-each select="marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z']">
465
                <xsl:choose>
465
                <xsl:choose>
466
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
466
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
467
                        <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
467
                        <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
Lines 503-509 Link Here
503
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose>
503
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose>
504
            </xsl:for-each>
504
            </xsl:for-each>
505
505
506
            <xsl:for-each select="marc:datafield[@tag=830]">
506
            <xsl:for-each select="marc:datafield[@tag=830 and @ind1!='z']">
507
                <xsl:choose>
507
                <xsl:choose>
508
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
508
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
509
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
509
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-4 / +3 lines)
Lines 375-381 Link Here
375
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
375
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
376
        <span class="results_summary series"><span class="label">Series: </span>
376
        <span class="results_summary series"><span class="label">Series: </span>
377
        <!-- 440 -->
377
        <!-- 440 -->
378
        <xsl:for-each select="marc:datafield[@tag=440]">
378
        <xsl:for-each select="marc:datafield[@tag=440 and @ind1!='z']">
379
            <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>
379
            <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>
380
                <xsl:call-template name="chopPunctuation">
380
                <xsl:call-template name="chopPunctuation">
381
                    <xsl:with-param name="chopString">
381
                    <xsl:with-param name="chopString">
Lines 425-431 Link Here
425
        </xsl:for-each>
425
        </xsl:for-each>
426
        <!-- 490 Series traced, Ind1 = 1 -->
426
        <!-- 490 Series traced, Ind1 = 1 -->
427
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
427
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
428
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811]">
428
            <xsl:for-each select="marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z']">
429
                <xsl:choose>
429
                <xsl:choose>
430
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
430
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
431
                        <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
431
                        <a><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
Lines 467-473 Link Here
467
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose>
467
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose>
468
            </xsl:for-each>
468
            </xsl:for-each>
469
469
470
            <xsl:for-each select="marc:datafield[@tag=830]">
470
            <xsl:for-each select="marc:datafield[@tag=830 and @ind1!='z']">
471
                <xsl:choose>
471
                <xsl:choose>
472
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
472
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
473
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
473
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
474
- 

Return to bug 30231