]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/advanced/numeric.tt2
TPAC advanced search org unit selector
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / advanced / numeric.tt2
1 <form action="[% ctx.opac_root %]/results" method="GET">
2     <div class="header_middle">[% l("Numeric Search") %]</div>
3     <input type="hidden" name="contains" value="contains" />
4     <input type="hidden" name="_special" value="1" />
5     <table>
6         <tr>
7             <td><label><strong>[% l("Field:") %]</strong>
8                 <select name="qtype">
9                     <!-- TODO: Pull labels from config.metabib_field.label -->
10                     <option value="identifier|isbn">[% l('ISBN') %]</option>
11                     <option value="identifier|issn">[% l('ISSN') %]</option>
12                     <option value="identifier|bib_cn">[% l('Bib Call Number') %]</option>
13                     <option value="cnbrowse">[% l('Call Number (Shelf Browse)') %]</option>
14                     <option value="identifier|lccn">[% l('LCCN') %]</option>
15                     <option value="identifier|tcn">[% l('TCN') %]</option>
16                     <option value="item_barcode">[% l('Item Barcode') %]</option>
17                 </select>
18                 </label>
19             </td>
20             <td>
21                 <input type="text" name="query" size="16" autofocus />
22             </td>
23         </tr>
24         <tr>
25             <td colspan="2"><label><strong>[% l("Search Library:") %]</strong>
26                   [% PROCESS "opac/parts/org_selector.tt2";
27                      INCLUDE build_org_selector show_loc_groups=1
28                   %]
29                 </label>
30             </td>
31         </tr>
32         <tr>
33             <td colspan="2" align="right">
34                 <input type="submit" alt="[% l('Search') %]"
35                     value="[% l('Search') %]" class="opac-button" />
36             </td>
37     </table>
38 </form>