From ea4cd632186b920fbec4dd0230e31ff7e87a1c7e Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 20 May 2011 10:29:00 -0500 Subject: [PATCH 17/17] Bug 6380 - Z39.50 Cataloging Search needs a way to try search again, even if results are found Content-Type: text/plain; charset="utf-8" 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 somethng that returns no results -- The link for "Try Another Search" should now be a proper button. --- .../prog/en/modules/cataloguing/z3950_search.tt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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 1ee7823..092826d 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 %] -- 1.7.2.5