From 82f2c8ef268333414b9defd9bf4424ca52e3b03b Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Mon, 28 Feb 2011 16:09:23 -0500 Subject: [PATCH] Fix for Bug 5817, Malformed author search link breaks sorting on results page Content-Type: text/plain; charset="utf-8" --- .../prog/en/modules/catalogue/results.tmpl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl index df09c4f..6740229 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl @@ -402,7 +402,7 @@ function GetZ3950Terms(){ </p> <!-- TMPL_IF name="summary" --> <!-- TMPL_IF NAME="author" --> - <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a> <!-- TMPL_ELSE --> <!-- /TMPL_IF --> @@ -422,7 +422,7 @@ function GetZ3950Terms(){ <!-- /TMPL_UNLESS --> <!-- TMPL_IF NAME="author" --> - <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a> + <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a> <!-- TMPL_ELSE --> <!-- /TMPL_IF --> -- 1.7.3