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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +7 lines)
Lines 637-642 Link Here
637
        <xsl:if test="marc:datafield[@tag=775]">
637
        <xsl:if test="marc:datafield[@tag=775]">
638
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
638
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
639
        <xsl:for-each select="marc:datafield[@tag=775]">
639
        <xsl:for-each select="marc:datafield[@tag=775]">
640
            <xsl:variable name="f775">
641
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
642
                <xsl:with-param name="codes">a_t</xsl:with-param>
643
                </xsl:call-template></xsl:with-param></xsl:call-template>
644
            </xsl:variable>
640
            <xsl:if test="marc:subfield[@code='i']">
645
            <xsl:if test="marc:subfield[@code='i']">
641
                <xsl:call-template name="subfieldSelect">
646
                <xsl:call-template name="subfieldSelect">
642
                    <xsl:with-param name="codes">i</xsl:with-param>
647
                    <xsl:with-param name="codes">i</xsl:with-param>
Lines 649-659 Link Here
649
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
654
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
650
            </xsl:when>
655
            </xsl:when>
651
            <xsl:otherwise>
656
            <xsl:otherwise>
652
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute>
657
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f775, '()', '')"/></xsl:attribute>
653
            </xsl:otherwise>
658
            </xsl:otherwise>
654
            </xsl:choose>
659
            </xsl:choose>
655
            <xsl:call-template name="subfieldSelect">
660
            <xsl:call-template name="subfieldSelect">
656
                <xsl:with-param name="codes">t</xsl:with-param>
661
                <xsl:with-param name="codes">a_t</xsl:with-param>
657
            </xsl:call-template>
662
            </xsl:call-template>
658
            </a>
663
            </a>
659
            <xsl:choose>
664
            <xsl:choose>
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-3 / +7 lines)
Lines 714-719 Link Here
714
        <xsl:if test="marc:datafield[@tag=775]">
714
        <xsl:if test="marc:datafield[@tag=775]">
715
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
715
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
716
        <xsl:for-each select="marc:datafield[@tag=775]">
716
        <xsl:for-each select="marc:datafield[@tag=775]">
717
            <xsl:variable name="f775">
718
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
719
                <xsl:with-param name="codes">a_t</xsl:with-param>
720
                </xsl:call-template></xsl:with-param></xsl:call-template>
721
            </xsl:variable>
717
            <xsl:if test="marc:subfield[@code='i']">
722
            <xsl:if test="marc:subfield[@code='i']">
718
                <xsl:call-template name="subfieldSelect">
723
                <xsl:call-template name="subfieldSelect">
719
                    <xsl:with-param name="codes">i</xsl:with-param>
724
                    <xsl:with-param name="codes">i</xsl:with-param>
Lines 726-736 Link Here
726
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
731
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
727
            </xsl:when>
732
            </xsl:when>
728
            <xsl:otherwise>
733
            <xsl:otherwise>
729
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute>
734
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f775, '()', '')"/></xsl:attribute>
730
            </xsl:otherwise>
735
            </xsl:otherwise>
731
            </xsl:choose>
736
            </xsl:choose>
732
            <xsl:call-template name="subfieldSelect">
737
            <xsl:call-template name="subfieldSelect">
733
                <xsl:with-param name="codes">t</xsl:with-param>
738
                <xsl:with-param name="codes">a_t</xsl:with-param>
734
            </xsl:call-template>
739
            </xsl:call-template>
735
            </a>
740
            </a>
736
            <xsl:choose>
741
            <xsl:choose>
737
- 

Return to bug 8144