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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-2 / +1 lines)
Lines 470-476 Link Here
470
            <xsl:for-each select="marc:datafield[@tag=830]">
470
            <xsl:for-each select="marc:datafield[@tag=830]">
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><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=control-number:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
474
                            <xsl:call-template name="chopPunctuation">
474
                            <xsl:call-template name="chopPunctuation">
475
                                <xsl:with-param name="chopString">
475
                                <xsl:with-param name="chopString">
476
                                    <xsl:call-template name="subfieldSelect">
476
                                    <xsl:call-template name="subfieldSelect">
477
--
478
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +-
477
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +-
479
1 file changed, 1 insertion(+), 1 deletion(-)
478
1 file changed, 1 insertion(+), 1 deletion(-)
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-2 / +1 lines)
Lines 470-476 Link Here
470
            <xsl:for-each select="marc:datafield[@tag=830]">
470
            <xsl:for-each select="marc:datafield[@tag=830]">
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><xsl:attribute name="href"><xsl:value-of select="$searchurl"/>?q=control-number:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
474
                            <xsl:call-template name="chopPunctuation">
474
                            <xsl:call-template name="chopPunctuation">
475
                                <xsl:with-param name="chopString">
475
                                <xsl:with-param name="chopString">
476
                                    <xsl:call-template name="subfieldSelect">
476
                                    <xsl:call-template name="subfieldSelect">
477
- 

Return to bug 30162