Bug 5910: allow users to search on all auth types
authorPaul Poulain <paul.poulain@biblibre.com>
Tue, 9 Aug 2011 14:50:50 +0000 (16:50 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 20:22:22 +0000 (22:22 +0200)
Add search on "all authorities types" option in the authorities type select

rewritten for T::T

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc

index 151986d..895b6cd 100644 (file)
@@ -8,6 +8,7 @@
         <input type="hidden" name="op" value="do_search" />
         <input type="hidden" name="type" value="intranet" />
         <select name="authtypecode">
+        <option value="">All Authority Types</option>
         [% FOREACH authtypesloo IN authtypesloop %]
             [% IF ( authtypesloo.selected ) %]
             <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
@@ -37,6 +38,7 @@
         <input type="hidden" name="op" value="do_search" />
         <input type="hidden" name="type" value="intranet" />
         <select  name="authtypecode">
+        <option value="">All Authority Types</option>
         [% FOREACH authtypesloo IN authtypesloop %]
             [% IF ( authtypesloo.selected ) %]
             <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
@@ -68,6 +70,7 @@
         <input type="hidden" name="op" value="do_search" />
         <input type="hidden" name="type" value="intranet" />
         <select name="authtypecode">
+        <option value="">All Authority Types</option>
         [% FOREACH authtypesloo IN authtypesloop %]
             [% IF ( authtypesloo.selected ) %]
             <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>