Fix for Bug 3665, adding another submit button as in OPAC
authorOwen Leonard <oleonard@myacpl.org>
Thu, 30 Dec 2010 11:33:46 +0000 (06:33 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 1 Jan 2011 20:16:10 +0000 (09:16 +1300)
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.

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl

index d2334e0..24984de 100644 (file)
     </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>