Fix for Bug 5817, Malformed author search link breaks sorting on results page

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2011-02-26 18:04:56 -05:00 committed by Chris Cormack
parent 7660909ca8
commit 32d5fe33aa
1 changed files with 2 additions and 2 deletions

View File

@ -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&amp;q=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
<!-- TMPL_ELSE -->
&nbsp;
<!-- /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&amp;q=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
<!-- TMPL_ELSE -->
&nbsp;
<!-- /TMPL_IF -->