[Koha-patches] [PATCH 1/2] [SIGNED-OFF] Fix for Bug 5817, Malformed author search link breaks sorting on results page
Nicole C. Engard
nengard at bywatersolutions.com
Sat Mar 26 16:03:08 CET 2011
From: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Jared Camins-Esakov <jcamins at bywatersolutions.com>
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
.../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 e98cfd3..db1d319 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
@@ -438,7 +438,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
</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 -->
@@ -458,7 +458,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
<!-- /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.2.3
More information about the Koha-patches
mailing list