Bugzilla – Attachment 1977 Details for
Bug 4285
Several links in Intranet XSLT bib display link to opac-search.pl.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-4285-Intranet-bib-display-links-to-opac-search.patch (text/plain), 7.09 KB, created by
Chris Cormack
on 2010-02-28 20:41:00 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-02-28 20:41:00 UTC
Size:
7.09 KB
patch
obsolete
>From 29c97fe1da1cb0c79d1b440b74e30c25ce102f47 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Sun, 28 Feb 2010 15:41:01 -0500 >Subject: [PATCH] Bug 4285: Intranet bib display links to opac-search.pl, instead of catalogue/search.pl >Content-Type: text/plain; charset="utf-8" > >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 24 ++++++++++---------- > .../prog/en/xslt/UNIMARCslim2intranetDetail.xsl | 2 +- > 2 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 0156f99..c5c4b73 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -111,10 +111,10 @@ > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9]"> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> > </xsl:when> > <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> > </xsl:otherwise> > </xsl:choose> > <xsl:call-template name="nameABCDQ"/></a> >@@ -126,10 +126,10 @@ > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9]"> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> > </xsl:when> > <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> > </xsl:otherwise> > </xsl:choose> > <xsl:call-template name="nameABCDN"/></a> >@@ -140,10 +140,10 @@ > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9]"> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> > </xsl:when> > <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> > </xsl:otherwise> > </xsl:choose> > <xsl:call-template name="nameACDEQ"/></a> >@@ -177,7 +177,7 @@ > <xsl:if test="marc:datafield[@tag=440 or @tag=490]"> > <span class="results_summary"><span class="label">Series: </span> > <xsl:for-each select="marc:datafield[@tag=440]"> >- <a href="/cgi-bin/koha/opac-search.pl?q=se:{marc:subfield[@code='a']}"> >+ <a href="/cgi-bin/koha/catalogue/search.pl?q=se:{marc:subfield[@code='a']}"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >@@ -191,7 +191,7 @@ > </xsl:for-each> > > <xsl:for-each select="marc:datafield[@tag=490][@ind1=0]"> >- <a href="/cgi-bin/koha/opac-search.pl?q=se:{marc:subfield[@code='a']}"> >+ <a href="/cgi-bin/koha/catalogue/search.pl?q=se:{marc:subfield[@code='a']}"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >@@ -365,10 +365,10 @@ > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9]"> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> > </xsl:when> > <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> > </xsl:otherwise> > </xsl:choose> > <xsl:call-template name="chopPunctuation"> >@@ -510,7 +510,7 @@ > <xsl:with-param name="codes">at</xsl:with-param> > </xsl:call-template> > </xsl:variable> >- <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> >+ <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> > <xsl:value-of select="translate($f780, '()', '')"/> > </a> > </span> >@@ -565,7 +565,7 @@ > </xsl:call-template> > </xsl:variable> > >- <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute> >+ <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute> > <xsl:value-of select="translate($f785, '()', '')"/> > </a> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >index efdf89a..ed6f5a0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >@@ -425,7 +425,7 @@ > <xsl:with-param name="codes">at</xsl:with-param> > </xsl:call-template> > </xsl:variable> >- <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> >+ <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> > <xsl:value-of select="translate($f780, '()', '')"/> > </a> > </li> >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4285
: 1977