From d816d6fc5be11529f712c9dffb2d59d202d28ea4 Mon Sep 17 00:00:00 2001
From: Liz Rea
Date: Fri, 20 May 2011 10:29:00 -0500
Subject: [PATCH] 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
---
.../intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 %]
--
2.39.5