1 [% PROCESS 'html_helpers.inc' %]
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">
9 <label for="issn">ISSN:</label>
10 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
13 <label for="title">Title:</label>
14 <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
16 [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
18 <label for="ean">EAN:</label>
19 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
23 <label for="publisher">Publisher:</label>
24 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
27 <label for="supplier">Vendor:</label>
28 <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
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 ) %]
39 <input type="hidden" name="searched" value="1" />
40 [% IF (booksellerid) %]
41 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
44 <input type="hidden" name="basketno" value="[% basketno | html %]" />
46 <fieldset class="action">
47 <input type="submit" value="Search" />