[% USE CGI %]
[% USE JSON.Escape %]
[% BLOCK form_label %]
[% SWITCH label %]
[% CASE 'barcode' %]Barcode
[% CASE 'itemcallnumber' %]Call number
[% CASE 'stocknumber' %]Inventory number
[% CASE 'title' %]Title
[% CASE 'author' %]Author
[% CASE 'publishercode' %]Publisher
[% CASE 'publicationyear' %]Publication date
[% CASE 'collectiontitle' %]Collection
[% CASE 'isbn' %]ISBN
[% CASE 'issn' %]ISSN
[% CASE 'homebranch' %]Home library
[% CASE 'holdingbranch' %]Current location
[% CASE 'All libraries' %]All libraries
[% CASE 'location' %]Shelving location
[% CASE 'All locations' %]All locations
[% CASE 'itype' %]Item type
[% CASE 'All item types' %]All item types
[% CASE 'ccode' %]Collection code
[% CASE 'All collection codes' %]All collection codes
[% CASE 'notforloan' %]Status
[% CASE 'All statuses' %]All statuses
[% CASE 'damaged' %]Damaged
[% CASE 'itemlost' %]Lost
[% END %]
[% END %]
[% BLOCK form_field_select %]
[% values = CGI.param(name) %]
[% END %]
[% BLOCK form_field_select_option %]
[% IF params.f == value %]
[% ELSE %]
[% END %]
[% END %]
[% BLOCK form_field_select_text %]
[% IF params.exists('c') %]
[% ELSE %]
[% END %]
[% END %]
[% BLOCK form_field_select_text_block %]
[% c = CGI.param('c').list %]
[% f = CGI.param('f').list %]
[% q = CGI.param('q').list %]
[% op = CGI.param('op').list %]
[% IF q.size %]
[% size = q.size - 1 %]
[% FOREACH i IN [0 .. size] %]
[%
params = {
f => f.$i
q = q.$i
op = op.$i
}
%]
[% IF i > 0 %]
[% j = i - 1 %]
[% params.c = c.$j %]
[% END %]
[% INCLUDE form_field_select_text params=params %]
[% END %]
[% ELSE %]
[% INCLUDE form_field_select_text %]
[% END %]
[% END %]
[% BLOCK form_field_radio_yes_no %]
[% END %]
[%# Page starts here %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Catalog › Item search
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'home-search.inc' %]