[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Advanced search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='advsearch' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]

Advanced search

Search for: [% IF ( expanded_options ) %]
[% ELSE %]
[% END # /IF ( expanded_options ) %] [% FOREACH search_box IN [ 1, 2, 3] %]
[% IF ( expanded_options ) %] [% ELSE %] [% END # /IF ( expanded_options ) %]
[% IF ( expanded_options ) %] [% END %]
[% END # FOREACH search_box %] [% IF ( expanded_options ) %] [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %] [% END %] [% ELSE %] [% END %]
[% PROCESS searchbuttons %]
[%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %]
[% FOREACH advsearchloo IN advancedsearchesloop %]
Limit to any of the following:
[% FOREACH itemtypeloo IN advsearchloo.code_loop %] [% IF (advsearchloo.advanced_search_type != 'itemtypes') OR (((!itemtypeloo.searchcategory) AND (itemtypeloo.cat == 0)) OR (itemtypeloo.cat == 1)) %]
[% IF ( loop.last ) %]
[% ELSE %][% UNLESS ( loop.count % 4 ) %]
[% END %][% END %] [% END %] [% END %]
[% END # / FOREACH advancedsearchesloop %]
[% END # /IF OpacAdvSearchOptions %]
[%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('location').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('location').size > 0 and expanded_options ) ) %] [% IF ( singleBranchMode ) %]
Availability:
[% ELSE %]
[% IF search_groups %]

OR

[% END %]
[% END # / IF singleBranchMode %] [% END %] [%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('sorting').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('sorting').size > 0 and expanded_options ) ) %]
[% END %] [%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('pubdate').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('pubdate').size > 0 and expanded_options ) ) %]
For example: 1999-2001. You could also use "-1987" for everything published in and before 1987 or "2008-" for everything published in 2008 and after.
[% END %] [%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('language').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('language').size > 0 and expanded_options ) ) %]
[% END %]
[%# Following on one line for translatability %] [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('subtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('subtype').size > 0 and expanded_options ) ) %] [% IF ( usmarc ) %]
[% END # / IF usmarc %] [% IF ( UNIMARC ) %]
[% INCLUDE 'subtypes_unimarc.inc' %]
[% END %] [% END # / IF expanded_options %] [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or ( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %]
[% PROCESS searchbuttons %]
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK searchbuttons %]

[% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 ) %] [% IF expanded_options %] Fewer options [% ELSIF not expanded_options %] More options [% END %] [% END %] New search

[% END %] [% BLOCK jsinclude %] [% Asset.js("lib/jquery/plugins/jquery.deserialize.min.js") | $raw %] [% END %]