[% PROCESS "opac/parts/misc_util.tt2"; USE ResolverResolver; ctx.result_start = 1 + ctx.page_size * page; ctx.result_stop = ctx.page_size * (page + 1); IF ctx.result_stop > ctx.hit_count; ctx.result_stop = ctx.hit_count; END; result_count = ctx.result_start; %] [% PROCESS "opac/parts/result/paginate.tt2" %] [% ctx.results_count_header = PROCESS results_count_header; ctx.results_count_header %]
[% INCLUDE "opac/parts/staff_saved_searches.tt2" %] [% INCLUDE 'opac/parts/result/facets.tt2' %]
[% FOR rec IN ctx.records; attrs = {marc_xml => rec.marc_xml}; PROCESS get_marc_attrs args=attrs %] [% END %]
[%- IF ENV.OILS_CHILIFRESH_ACCOUNT %] [%- END %]
[% result_count; result_count = result_count + 1 %]. [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] [% l('Image of item') %]
[% END %]
[% attrs.author | html %]    [% attrs.pubdate | html %]
[% IF args.holdings.size > 0 %] [% END %] [% IF CGI.param('detail_record_view') %] [% IF attrs.publisher %] [% END %] [% IF attrs.isbns.size > 0 %] [% END %] [%- IF openurl.enabled == 'true'; FOR issn IN args.issns; sfx = ResolverResolver.resolve_issn(issn, openurl.baseurl); FOR res IN sfx; %] [% END %] [% END %] [% END %] [% IF attrs.edition %] [% END %] [% IF attrs.phys_desc %] [% END %] [% FOR uri IN args.uris %] [% END %] [%- IF args.holdings.size > 0; FOREACH copy IN args.holdings; IF copy.part_label != ''; has_parts = 'true'; LAST; END; END; %] [%- has_parts = 'false'; END; %] [% END %]
[% l('Call number:') %] [% args.holdings.0.label | html %]
[% l('Publisher:') %] [% attrs.publisher | html %]
[% l('ISBN:') %] [% attrs.isbns.0 | html %]
[% res.public_name | html %] [% res.target_coverage | html %]
[% l('Edition:') %] [% attrs.edition | html %]
[% l('Phys. Desc.:') %] [% args.phys_desc | html %]
[% l('Electronic resource') %] [% uri.link | html %][% ' - ' _ uri.note | html IF uri.note %]
[%- IF has_parts == 'true'; %] [%- END %] [% FOR copy IN args.holdings %] [%- IF has_parts == 'true'; %] [%- END %] [% END %]
[% l('Library') %] [% l('Shelving location') %] [% l('Call number') %][% l('Part') %][% l('Status') %]
[% copy.library | html %] [% copy.location | html %] [% copy.label | html %][% copy.part_label %][% copy.status | html %]
[% PROCESS "opac/parts/result/copy_counts.tt2" %] [% IF rec.user_circulated %]
[% l('Checked Out Before') %] [% l('I have checked this item out before') %]
[% END %]
[% IF attrs.format_icon %] [% attrs.format_label | html %] [% END %] [% l("Browse in Google Books Search") %]
[% operation = ctx.mylist.grep(rec.id).size ? "delete" : "add"; label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); href = mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => rec.id, anchor => 'record_' _ rec.id}, 1); %] [% label %]
[% IF ENV.OILS_CONTENT_CAFE_USER %] [% END %]
[% ctx.results_count_header %]