Bug 5202: merge authorities from the authority file and reservoir
[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 id="unfold_advsearch" style="cursor:pointer" onclick="$('#advsearch_form').slideToggle(400);">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 %]" />
10               </li>
11               <li>
12                 <label for="title">Title:</label>
13                 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
14               </li>
15               <li>
16                 <label for="ean">EAN:</label>
17                 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
18               </li>
19               <li>
20                 <label for="publisher">Publisher:</label>
21                 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
22               </li>
23               <li>
24                 <label for="supplier">Supplier:</label>
25                 <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter %]" />
26               </li>
27               <li>
28                 <label for="branch">Branch:</label>
29                 <select id="branch" name="branch_filter">
30                   <option value="">All</option>
31                   [% FOREACH branch IN branches_loop %]
32                     [% IF (branch.selected) %]
33                       <option selected="branch.selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
34                     [% ELSE %]
35                       <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
36                     [% END %]
37                   [% END %]
38                 </select>
39               </li>
40             </ol>
41             <input type="hidden" name="searched" value="1" />
42             [% IF (booksellerid) %]
43                 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
44             [% END %]
45             [% IF (basketno) %]
46                 <input type="hidden" name="basketno" value="[% basketno %]" />
47             [% END %]
48             <fieldset class="action">
49               <input type="submit" value="Search" />
50             </fieldset>
51             </div>
52         </fieldset>
53     </form>
54 </div>