1 <form action="[% ctx.opac_root %]/results" method="get">
2 <h1 class="text-center">Numeric Search</h1>
3 <h2 class="text-center">Search by a field and numeric identifier.</h2>
4 <input type="hidden" name="contains" value="contains" />
5 <input type="hidden" name="_special" value="1" />
6 <input id="detail" type="hidden" name="detail_record_view"
7 value="[% show_detail_view %]"/>
8 <div id='adv_numeric_block' class='row'>
9 <div class="col-12 my-3">
10 <label for="numeric_qtype"><strong>[% l("Field:") %]</strong></label>
11 <select id="numeric_qtype" name="qtype" class="form-control">
12 <!-- TODO: Pull labels from config.metabib_field.label -->
13 <option value="identifier|isbn">[% l('ISBN') %]</option>
14 <option value="identifier|upc">[% l('UPC') %]</option>
15 <option value="identifier|issn">[% l('ISSN') %]</option>
16 <option value="cnbrowse">[% l('Call Number (Shelf Browse)') %]</option>
17 <option value="identifier|lccn">[% l('LCCN') %]</option>
18 <option value="identifier|tcn">[% l('TCN') %]</option>
19 <option value="item_barcode">[% l('Item Barcode') %]</option>
22 <div class="col-12 my-3">
23 <label for="numeric_ident"><strong>[% l("Identifier:") %]</strong></label>
24 <input id="numeric_ident" class="form-control" type="text" name="query" size="16" autofocus placeholder='[% l("Identifier") %]' aria-label='[% l("Identifier") %]' />
27 <div class="col-12 my-3">
28 [%- lib_select_id="adv_org_selector" -%]
29 <label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
30 [% PROCESS "opac/parts/org_selector.tt2";
31 INCLUDE build_org_selector id=lib_select_id show_loc_groups=1
37 <div class="col-12 my-3">
38 <button type="submit" class="btn btn-confirm"><i class="fas fa-search"></i> [% l('Search') %]</button>