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