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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-1 / +6 lines)
Lines 765-771 Link Here
765
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=Control-number:',$controlnumber),false())"/>
765
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=Control-number:',$controlnumber),false())"/>
766
            </xsl:when>
766
            </xsl:when>
767
            <xsl:otherwise>
767
            <xsl:otherwise>
768
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=ti,phr:',translate(marc:subfield[@code=$title_subfield], '()', '')),false())"/>
768
                <xsl:variable name="quoted_title">
769
                    <xsl:call-template name="quote_search_term">
770
                        <xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code=$title_subfield]"/></xsl:with-param>
771
                    </xsl:call-template>
772
                </xsl:variable>
773
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=ti,phr:',translate($quoted_title, '()', '')),false())"/>
769
            </xsl:otherwise>
774
            </xsl:otherwise>
770
        </xsl:choose>
775
        </xsl:choose>
771
    </xsl:template>
776
    </xsl:template>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-2 / +6 lines)
Lines 728-734 Link Here
728
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=Control-number:',$controlnumber),false())"/>
728
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=Control-number:',$controlnumber),false())"/>
729
            </xsl:when>
729
            </xsl:when>
730
            <xsl:otherwise>
730
            <xsl:otherwise>
731
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=ti,phr:',translate(marc:subfield[@code=$title_subfield], '()', '')),false())"/>
731
                <xsl:variable name="quoted_title">
732
                    <xsl:call-template name="quote_search_term">
733
                        <xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code=$title_subfield]"/></xsl:with-param>
734
                    </xsl:call-template>
735
                </xsl:variable>
736
                <xsl:value-of select="str:encode-uri(concat($scriptname,'?q=ti,phr:',translate($quoted_title, '()', '')),false())"/>
732
            </xsl:otherwise>
737
            </xsl:otherwise>
733
        </xsl:choose>
738
        </xsl:choose>
734
    </xsl:template>
739
    </xsl:template>
735
- 

Return to bug 29185