Bugzilla – Attachment 2744 Details for
Bug 5175
The opac XSLTDetails view field Publisher: doesn't provide a hyperlink as the non XSLT view does.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with small change to show publisher only once
0001-SIGNED-OFF-Fix-for-Bug-5175-XSL-view-doesn-t-link-pu.patch (text/plain), 3.44 KB, created by
Katrin Fischer
on 2010-11-12 22:12:08 UTC
(
hide
)
Description:
Patch with small change to show publisher only once
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2010-11-12 22:12:08 UTC
Size:
3.44 KB
patch
obsolete
>From 20a9b5e96ee4030bad5e9ec26577433b99320ad1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 25 Aug 2010 12:50:31 -0400 >Subject: [PATCH] [SIGNED-OFF] Fix for Bug 5175, XSL view doesn't link publisher name to search >Content-Type: text/plain; charset="utf-8" > >Fixes the doubled up display of the publisher. > >This patch fixes the bug in both the OPAC and staff client >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 10 ++++++++-- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 8 +++++++- > 2 files changed, 15 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 9de39cf..075472e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -222,16 +222,22 @@ > <xsl:if test="marc:datafield[@tag=260]"> > <span class="results_summary"><span class="label">Publisher: </span> > <xsl:for-each select="marc:datafield[@tag=260]"> >+ <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{marc:subfield[@code='b']}"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">b</xsl:with-param> >+ </xsl:call-template> >+ </a> >+ <xsl:text> </xsl:text> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abcg</xsl:with-param> >+ <xsl:with-param name="codes">acg</xsl:with-param> > </xsl:call-template> > </xsl:with-param> > </xsl:call-template> > <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> > </xsl:for-each> >- </span> >+ </span> > </xsl:if> > > <!-- Edition Statement: Alternate Graphic Representation (MARC 880) --> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 2c6a1a8..e76b8df 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -243,10 +243,16 @@ > <xsl:if test="marc:datafield[@tag=260]"> > <span class="results_summary"><span class="label">Publisher: </span> > <xsl:for-each select="marc:datafield[@tag=260]"> >+ <a href="/cgi-bin/koha/opac-search.pl?q=pb:{marc:subfield[@code='b']}"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">b</xsl:with-param> >+ </xsl:call-template> >+ </a> >+ <xsl:text> </xsl:text> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abcg</xsl:with-param> >+ <xsl:with-param name="codes">acg</xsl:with-param> > </xsl:call-template> > </xsl:with-param> > </xsl:call-template> >-- >1.7.1 >
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 5175
:
2571
| 2744 |
2775
|
2776