[% USE raw %] [% USE To %] [% USE Asset %] [% USE AuthorisedValues %] [%- 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 title [%- CASE 'isbn' %]ISBN [%- CASE 'issn' %]ISSN [%- CASE 'homebranch' %]Home library [%- CASE 'holdingbranch' %]Current library [%- 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 [%- CASE 'All collection codes' %]All collections [%- CASE 'notforloan' %]Status [%- CASE 'All statuses' %]All statuses [%- CASE 'damaged' %]Damaged [%- CASE 'itemlost' %]Lost [%- CASE 'withdrawn' %]Withdrawn [%- CASE 'new_status' %]Is new [%- END -%] [%- END -%] [% BLOCK form_field_select %]
[% END %] [% BLOCK form_field_select_option %] [% END %] [% BLOCK form_field_select_text %]
[% END %] [% BLOCK form_field_radio_yes_no %]
[% END %] [%# We need to escape html characters for 'value' and 'label' %] [%- BLOCK escape_html_value_label -%] [%- SET escaped = [] -%] [%- FOR e IN elts -%] [%- value = BLOCK %][% e.value | html %][% END -%] [%- label = BLOCK %][% e.label | html %][% END -%] [%- escaped.push({ 'value' => value, 'label' => label }) -%] [%- END -%] [%- To.json(escaped) | $raw -%] [%- END -%] [% notforloans = AuthorisedValues.GetDescriptionsByKohaField({ kohafield = 'items.notforloan' }) %] [% FOREACH nfl IN notforloans %] [% nfl.value = nfl.authorised_value %] [% nfl.label = nfl.lib %] [% END %] [% locations = AuthorisedValues.GetDescriptionsByKohaField({ kohafield = 'items.location' }) %] [% FOREACH loc IN locations %] [% loc.value = loc.authorised_value %] [% loc.label = loc.lib %] [% END %] [%# Page starts here %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Catalog › Item search [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/itemsearchform.css") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'home-search.inc' %]

Item search

Go to advanced search

[% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %] [% INCLUDE form_field_select name="holdingbranch" options = branches empty_option = "All libraries" %] [% IF locations.size %] [% INCLUDE form_field_select name="location" options = locations empty_option = "All locations" %] [% END %]
[% INCLUDE form_field_select name="itype" options = itemtypes empty_option = "All item types" %] [% IF ccodes.size %] [% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %] [% END %] [% IF notforloans.size %] [% INCLUDE form_field_select name="notforloan" options = notforloans empty_option = "All statuses" %] [% END %] [% IF itemlosts.size %] [% INCLUDE form_field_select name="itemlost" options = itemlosts empty_option = "All statuses" %] [% END %] [% IF withdrawns.size %] [% INCLUDE form_field_select name="withdrawn" options = withdrawns empty_option = "All statuses" %] [% END %]
[% INCLUDE form_field_select_text %]

You can use the following wildcard characters: % _

% matches any number of characters

_ matches only a single character

(inclusive)
(inclusive)
[% INCLUDE form_field_radio_yes_no name="damaged" %] [% IF ( has_new_status ) %] [% INCLUDE form_field_radio_yes_no name="new_status" divclass='item-new-status' %] [% END %]
ISO Format (YYYY-MM-DD)
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] [% Asset.js("lib/hc-sticky.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]