Bugzilla – Attachment 3271 Details for
Bug 5810
Subject tracings should search complete subfields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revision to fix author search link, file 2
0002-Bug-5810-revision-to-fix-author-search-link.patch (text/plain), 2.10 KB, created by
Jane Wagner
on 2011-03-08 18:02:41 UTC
(
hide
)
Description:
Revision to fix author search link, file 2
Filename:
MIME Type:
Creator:
Jane Wagner
Created:
2011-03-08 18:02:41 UTC
Size:
2.10 KB
patch
obsolete
>From 2794ad8a2cefa6d625fdcf5a1b5cccfef8cf539c Mon Sep 17 00:00:00 2001 >From: Jane Wagner <jwagner@ptfs.com> >Date: Tue, 8 Mar 2011 12:58:28 -0500 >Subject: [PATCH] Bug 5810 revision to fix author search link > > >Signed-off-by: Jane Wagner <jwagner@ptfs.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index c96d82b..2b6af2d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -804,7 +804,7 @@ > </xsl:choose> > <a> > <xsl:choose> >- <xsl:when test="marc:subfield[@code=9]"> >+ <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> > <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> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >index d101723..43f86b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >@@ -127,7 +127,7 @@ > <xsl:value-of select="$str"/> > </a> > </xsl:when> >- <xsl:when test="boolean($index) and boolean(marc:subfield[@code=9])"> >+ <xsl:when test="boolean($index) and boolean(marc:subfield[@code=9]) and $UseAuthoritiesForTracings='1'"> > <a> > <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> > <xsl:value-of select="$str"/> >-- >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 5810
:
3226
|
3269
|
3270
| 3271