[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5954: 490$a not used to create search link in XSLT

Chris Nighswonger cnighswonger at foundations.edu
Tue Apr 5 01:48:30 CEST 2011


This patch does not apply cleanly to 3.2.x. If it should, please fixup and
resubmit with [3.2.x] in the subject line.

Kind Regards,
Chris


On Fri, Mar 25, 2011 at 1:44 PM, Nicole C. Engard <
nengard at bywatersolutions.com> wrote:

> From: ruth at bywatersolutions.com <ruth at bywatersolutions.com>
>
> This bug corrects a minor XSLT bug that is causing 490$t (which is not
> defined) to create
> search links when XSLT is enabled
>
> Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
> ---
>  .../prog/en/xslt/MARC21slim2intranetDetail.xsl     |    2 +-
>  .../prog/en/xslt/MARC21slim2OPACDetail.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 3072ce0..28da9c2 100644
> --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
> +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
> @@ -193,7 +193,7 @@
>                         </a>
>                     </xsl:when>
>                     <xsl:otherwise>
> -                        <a href="/cgi-bin/koha/catalogue/
> search.pl?q=se:{marc:subfield[@code='t']}<http://search.pl?q=se:%7Bmarc:subfield[@code=%27t%27]%7D>
> ">
> +                        <a href="/cgi-bin/koha/catalogue/
> search.pl?q=se:{marc:subfield[@code='a']}<http://search.pl?q=se:%7Bmarc:subfield[@code=%27a%27]%7D>
> ">
>                             <xsl:call-template name="chopPunctuation">
>                                 <xsl:with-param name="chopString">
>                                     <xsl:call-template
> name="subfieldSelect">
> diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
> b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
> index 38cc6a8..71494cd 100755
> --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
> +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
> @@ -251,7 +251,7 @@
>                         </a>
>                     </xsl:when>
>                     <xsl:otherwise>
> -                        <a href="/cgi-bin/koha/
> opac-search.pl?q=se:{marc:subfield[@code='t']}<http://opac-search.pl?q=se:%7Bmarc:subfield[@code=%27t%27]%7D>
> ">
> +                        <a href="/cgi-bin/koha/
> opac-search.pl?q=se:{marc:subfield[@code='a']}<http://opac-search.pl?q=se:%7Bmarc:subfield[@code=%27a%27]%7D>
> ">
>                             <xsl:call-template name="chopPunctuation">
>                                 <xsl:with-param name="chopString">
>                                     <xsl:call-template
> name="subfieldSelect">
> --
> 1.7.2.3
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20110404/79067aae/attachment.htm>


More information about the Koha-patches mailing list