[Koha-patches] [PATCH 17/17] Bug 6380 - Z39.50 Cataloging Search needs a way to try search again, even if results are found
Liz Rea
lrea at nekls.org
Fri May 20 17:59:39 CEST 2011
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 %]</tbody>
</table>
+<p><form method="link" action="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"><input type="submit" value="Try Another Search"></form>
[% 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 %]
- <p>Nothing found. <a href="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]">Try another search</a>.</p>
+ <p>Nothing found.
+ <p><form method="link" action="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"><input type="submit" value="Try Another Search"></form>
[% END %]
--
1.7.2.5
More information about the Koha-patches
mailing list