Bug 15758: Koha::Libraries - Remove GetBranches
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / subscriptions-search.inc
1 <div id="advsearch">
2     <form action="" method="get">
3         <fieldset class="brief">
4         <a href="#" class="toggle_element" data-element="#advsearch_form">Advanced search</a>
5             <div id="advsearch_form" style="display:none">
6             <ol>
7               <li>
8                 <label for="issn">ISSN:</label>
9                 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
10               </li>
11               <li>
12                 <label for="title">Title:</label>
13                 <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
14               </li>
15               [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
16               <li>
17                 <label for="ean">EAN:</label>
18                 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
19               </li>
20               [% END %]
21               <li>
22                 <label for="publisher">Publisher:</label>
23                 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
24               </li>
25               <li>
26                 <label for="supplier">Vendor:</label>
27                 <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
28               </li>
29               <li>
30                 <label for="branch">Library:</label>
31                 <select id="branch" name="branch_filter">
32                   <option value="">All</option>
33                   [%# FIXME Should not we filter the libraries? %]
34                   [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
35                 </select>
36               </li>
37             </ol>
38             <input type="hidden" name="searched" value="1" />
39             [% IF (booksellerid) %]
40                 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
41             [% END %]
42             [% IF (basketno) %]
43                 <input type="hidden" name="basketno" value="[% basketno | html %]" />
44             [% END %]
45             <fieldset class="action">
46               <input type="submit" value="Search" />
47             </fieldset>
48             </div>
49         </fieldset>
50     </form>
51 </div>