[Koha-patches] [PATCH] Fix for Bug 3665, adding another submit button as in OPAC

Owen Leonard oleonard at myacpl.org
Fri Dec 31 21:31:02 CET 2010


This is the only change proposed in Bug 3665 which hasn't
already been implemented by someone else. It adds a submit
button under the first section of the advanced search page
just like the OPAC advanced search has.
---
 .../prog/en/modules/catalogue/advsearch.tmpl       |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl
index d2334e0..24984de 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl
@@ -82,6 +82,17 @@
     </fieldset>
 <!-- /BOOLEAN SEARCH OPTIONS -->
 
+<!-- SEARCH BUTTONS -->
+            <p><input class="submit" type="submit" accesskey="s" value="Search" />
+            <!-- TMPL_IF NAME="expanded_options" -->
+            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
+            <!-- TMPL_ELSE -->
+            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
+            <!-- /TMPL_IF -->
+            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
+            </p>
+<!-- /SEARCH BUTTONS -->
+
     <div id="itemtypelist">
 <!-- ITEMTYPE LIMITS -->
 	<fieldset>
-- 
1.7.3



More information about the Koha-patches mailing list