From: Liz Rea <[email protected]> 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 <[email protected]> [EDIT: Form slightly changed in order to remember biblio and framework. Link is no official html method value btw.] --- .../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..d73667d 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="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p> [% 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> + <p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p> [% END %] -- 1.6.0.6 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
