From: Liz Rea Date: Fri, 20 May 2011 15:29:00 +0000 (-0500) Subject: Bug 6380 - Z39.50 Cataloging Search needs a way to try search again, even if results... X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=d816d6fc5be11529f712c9dffb2d59d202d28ea4 Bug 6380 - Z39.50 Cataloging Search needs a way to try search again, even if results are found This patch adds a nice button to the results page to "Try Another Search" even if results are found. It also makes the "no results found" try again link a proper button. To test: Do a search for something that will give results -- there should now be a button to "Try Another Search" Do a search for something that returns no results -- The link for "Try Another Search" should now be a proper button. Signed-off-by: Marcel de Rooy [EDIT: Form slightly changed in order to remember biblio and framework. Link is no official html method value btw.] Signed-off-by: Chris Cormack --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 4a0e3233d7..5adc074668 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -160,6 +160,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% END %] [% END %] +

[% ELSE %] [% IF ( emptyserverlist ) %] You didn't select any Z39.50 target. @@ -168,7 +169,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Connection failed to [% errcon.server %] [% END %] [% END %] -

Nothing found. Try another search.

+

Nothing found.

+

[% END %]