Bugzilla – Attachment 4224 Details for
Bug 6380
Z39.50 Cataloging Search needs a way to try search again, even if results are found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed patch
patch.txt (text/plain), 2.46 KB, created by
Marcel de Rooy
on 2011-05-23 09:53:37 UTC
(
hide
)
Description:
Signed patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-05-23 09:53:37 UTC
Size:
2.46 KB
patch
obsolete
>From 141644fe569b64f90a260795c662ef63f6eeba9e Mon Sep 17 00:00:00 2001 >From: Liz Rea <lrea@nekls.org> >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 >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 something that returns no results -- The link for "Try Another Search" should now be a proper button. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >[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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6380
:
4202
| 4224