7 [% PROCESS 'i18n.inc' %]
9 [% USE AuthorisedValues %]
10 [% INCLUDE 'doc-head-open.inc' %]
12 <title>[% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %] › Catalog › Koha</title>
13 [% INCLUDE 'doc-head-close.inc' %]
16 <body id="catalog_results" class="catalog">
17 [% INCLUDE 'header.inc' %]
18 [% INCLUDE 'cat-search.inc' %]
20 [% IntranetCoce = Koha.Preference('IntranetCoce') %]
21 [% CoceProviders = Koha.Preference('CoceProviders') %]
22 [% CoceHost = Koha.Preference('CoceHost') %]
23 [% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %]
25 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
28 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
31 <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
34 <a href="#" aria-current="page">
35 Search [% IF ( query_desc ) %] for '[% query_desc | html %]'[% END %]
36 [% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]
42 <div class="main container-fluid">
44 <div class="col-sm-10 col-sm-push-2">
47 [% IF ( outer_sup_results_loop ) %]
49 <div class="col-sm-8">
52 [% IF ( koha_spsuggest ) %]
53 <div style="font-size: 12px;">Did you mean:
54 <ul style="list-style: none;">
55 [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
57 <a href="/cgi-bin/koha/catalogue/search.pl?q=[% SPELL_SUGGES.spsuggestion | uri %]">[% SPELL_SUGGES.spsuggestion | html %]</a>
67 [% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
69 <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
71 <div class="searchheader" id="searchheader">
72 <div id="selection_ops">
73 <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
75 <a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
77 <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
78 <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
81 [% IF (Koha.Preference("intranetbookbag")) %]
82 <div class="btn-group">
83 <a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
87 [% IF Koha.Preference('virtualshelves') %]
88 <div class="btn-group">
89 <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
90 <i class="fa fa-list"></i> Add to list <span class="caret"></span>
92 <ul class="dropdown-menu">
93 [% IF add_to_some_private_shelves.count %]
94 <li class="dropdown-header">Your lists</li>
95 [% SET number_of_private_shelves = 0 %]
96 [% FOREACH s IN add_to_some_private_shelves %]
97 [% IF shelfnumber != s.shelfnumber %]
99 <a href="#" class="addtolist" data-shelfnumber="[% s.shelfnumber | html %]">[% s.shelfname | html %]</a>
101 [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
102 [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
106 [% IF add_to_some_public_shelves.count %]
107 <li class="dropdown-header">Public lists</li>
108 [% SET number_of_public_shelves = 0 %]
109 [% FOREACH s IN add_to_some_public_shelves %]
110 [% IF shelfnumber != s.shelfnumber %]
112 <a href="#" data-shelfnumber="[% s.shelfnumber | html %]" class="addtolist">[% s.shelfname | html %]</a>
114 [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
115 [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
119 <li role="separator" class="divider"></li>
120 [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
122 <a href="#" class="addtolist morelists">More lists</a>
126 <a href="#" class="addtolist newlist">New list</a>
130 [% END # /IF virtualshelves %]
132 [% IF ( CAN_user_reserveforothers_place_holds && DisplayMultiPlaceHold ) %]
133 [% IF ( holdfor or holdforclub ) %]
134 <div id="placeholdc" class="btn-group">
135 <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button>
136 <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
137 <span class="caret"></span>
139 <ul class="dropdown-menu">
140 <li><a href="#" class="placehold">Place hold</a></li>
142 <li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li>
143 <li class="divider"></li>
144 <li><a href="#" id="forgetholdfor">Forget [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li>
147 <li><a href="#" class="placeholdforclub">Place hold for [% holdforclub_name | html %]</a></li>
148 <li class="divider"></li>
149 <li><a href="#" id="forgetholdforclub">Forget [% holdforclub_name | html %]</a></li>
154 <div id="placeholdc" class="btn-group">
155 <a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a>
157 [% END # /IF holfor %]
158 [% END # /IF CAN_user_reserveforothers_place_holds %]
160 [% IF Koha.Preference('BrowseResultSelection') %]
161 <div id="browse_selection" class="btn-group">
162 <a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a>
166 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
167 <div class="btn-group">
168 <a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
170 <div class="btn-group">
171 <button type="button" id="results_batch_ops" class="btn btn-default btn-xs dropdown-toggle disabled" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
172 <i class="fa fa-pencil"></i> Edit <span class="caret"></span>
174 <ul class="dropdown-menu">
175 <li><a class="results_batch_op" data-op="edit" href="#">Batch edit</a></li>
176 <li><a class="results_batch_op" data-op="delete" href="#">Batch delete</a></li>
177 <li><a class="results_batch_op" data-op="merge" href="#">Merge records</a></li>
182 [% IF ( searchdesc ) %]
183 [% BLOCK sort_search_query ~%]
184 [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%]
185 &[% QUERY_INPUT.input_name | uri %]=[% QUERY_INPUT.input_value | uri %]
187 [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%]
188 &[% LIMIT_INPUT.input_name | uri %]=[% LIMIT_INPUT.input_value | uri %]
193 <div class="btn-group">
194 <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
195 Sort <span class="caret"></span>
197 <ul class="dropdown-menu">
198 [% IF ( sort_by == "relevance_dsc" ) %]
199 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Relevance</a></li>
201 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=relevance[% PROCESS sort_search_query %]">Relevance</a></li>
203 <li class="dropdown-header">Popularity</li>
204 [% IF ( sort_by == "popularity_dsc" ) %]
205 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (most to least)</a></li>
207 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=popularity_dsc[% PROCESS sort_search_query %]">Popularity (most to least)</a></li>
210 [% IF ( sort_by == "popularity_asc" ) %]
211 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (least to most)</a></li>
213 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=popularity_asc[% PROCESS sort_search_query %]">Popularity (least to most)</a></li>
216 <li class="dropdown-header">Author</li>
218 [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
219 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> Author (A-Z)</a></li>
221 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=author_az[% PROCESS sort_search_query %]">Author (A-Z)</a></li>
224 [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
225 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Author (Z-A)</a></li>
227 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=author_za[% PROCESS sort_search_query %]">Author (Z-A)</a></li>
230 <li class="dropdown-header">Call number</li>
232 [% IF ( sort_by == "call_number_asc" ) %]
233 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (0-9 to A-Z)</a></li>
235 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_asc[% PROCESS sort_search_query %]">Call number (0-9 to A-Z)</a></li>
238 [% IF ( sort_by == "call_number_dsc" ) %]
239 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (Z-A to 9-0)</a></li>
241 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=call_number_dsc[% PROCESS sort_search_query %]">Call number (Z-A to 9-0)</a></li>
244 <li class="dropdown-header">Dates</li>
245 [% IF ( sort_by == "pubdate_dsc" ) %]
246 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: newest to oldest</a></li>
248 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=pubdate_dsc[% PROCESS sort_search_query %]">Publication/Copyright date: newest to oldest</a></li>
251 [% IF ( sort_by == "pubdate_asc" ) %]
252 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: oldest to newest</a></li>
254 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=pubdate_asc[% PROCESS sort_search_query %]">Publication/Copyright date: oldest to newest</a></li>
257 [% IF ( sort_by == "acqdate_dsc" ) %]
258 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: newest to oldest</a></li>
260 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=acqdate_dsc[% PROCESS sort_search_query %]">Acquisition date: newest to oldest</a></li>
263 [% IF ( sort_by == "acqdate_asc" ) %]
264 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: oldest to newest</a></li>
266 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=acqdate_asc[% PROCESS sort_search_query %]">Acquisition date: oldest to newest</a></li>
269 <li class="dropdown-header">Title</li>
270 [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
271 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (A-Z)</a></li>
273 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=title_az[% PROCESS sort_search_query %]">Title (A-Z)</a></li>
276 [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
277 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (Z-A)</a></li>
279 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% results_per_page | uri %]&sort_by=title_za[% PROCESS sort_search_query %]">Title (Z-A)</a></li>
282 </div> <!-- /.btn-group -->
284 [% IF Koha.Preference('numSearchResultsDropdown') %]
285 <div class="btn-group">
286 <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
287 Results per page: [% results_per_page | html %] <span class="caret"></span>
289 <ul class="dropdown-menu">
290 [% IF Koha.Preference('numSearchResults') %]
291 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=[% Koha.Preference('numSearchResults') | uri %][% PROCESS sort_search_query %]" id="resultsperpage-default">
292 [% IF results_per_page == Koha.Preference('numSearchResults') %]
293 <i class="fa fa-check"></i>
294 [% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
297 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
298 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=40[% PROCESS sort_search_query %]" id="resultsperpage-40">[% IF results_per_page == '40' %]<i class="fa fa-check"></i>[% END %] 40</a></li>
299 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=60[% PROCESS sort_search_query %]" id="resultsperpage-60">[% IF results_per_page == '60' %]<i class="fa fa-check"></i>[% END %] 60</a></li>
300 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=80[% PROCESS sort_search_query %]" id="resultsperpage-80">[% IF results_per_page == '80' %]<i class="fa fa-check"></i>[% END %] 80</a></li>
301 <li><a href="/cgi-bin/koha/catalogue/search.pl?count=100[% PROCESS sort_search_query %]" id="resultsperpage-100">[% IF results_per_page == '100' %]<i class="fa fa-check"></i>[% END %] 100</a></li>
303 </div> <!-- /.btn-group -->
306 </div> <!-- /#selection_ops -->
307 </div> <!-- /#searchheader -->
309 [% ELSE # /IF total %]
311 <div id="searchheader">
312 <form method="post" name="fz3950" class="fz3950bigrpad">
313 <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button>
315 <h3>No results found</h3>
316 [% IF ( searchdesc ) %]
318 No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %] with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
320 [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %]
321 <p><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno | uri %]">View basket<a></p>
323 <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
325 <p>You did not specify any search criteria.</p>
328 [% END # /IF total %]
330 [% IF ( query_error ) %]
331 <div class="dialog alert"><p><strong>Error:</strong> [% query_error | html %]</p></div>
334 <!-- Search Results Table -->
338 <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
342 [% IF ( scan_search_term_to_use ) %]
343 Scan index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" />
345 Scan index for: <input type="text" name="q" id="scan-index" size="35" value="" />
351 <label for="scan-index">Indexed in:</label>
352 <select name="idx" id="scan-index">
353 <option value="">Any word</option>
354 [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option>
355 [% ELSE %]<option value="any,phr">Any phrase</option>[% END %]
356 [% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option>
357 [% ELSE %]<option value="ti">Title</option>[% END %]
358 [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option>
359 [% ELSE %]<option value="ti,phr">Title phrase</option>[% END %]
360 [% IF ( ms_au || ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option>
361 [% ELSE %]<option value="au,phr">Author</option>[% END %]
362 [% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option>
363 [% ELSE %]<option value="su">Subject</option>[% END %]
364 [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option>
365 [% ELSE %]<option value="su,phr">Subject phrase</option>[% END %]
366 [% IF ( ms_se ) %]<option selected="selected" value="se">Series</option>
367 [% ELSE %]<option value="su">Series</option>[% END %]
368 [% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option>
369 [% ELSE %]<option value="pb">Publisher</option>[% END %]
370 [% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option>
371 [% ELSE %]<option value="nt">Notes</option>[% END %]
372 [% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option>
373 [% ELSE %]<option value="sn">ISBN</option>[% END %]
374 [% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option>
375 [% ELSE %]<option value="ss">ISSN</option>[% END %]
377 <input type="hidden" name="scan" value="1" />
378 <input class="submit" type="submit" value="Submit" />
384 <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
390 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
393 <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use | uri %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title | uri %]"">[% SEARCH_RESULT.title | html %]</a>
396 [% SEARCH_RESULT.author | html %]
402 [% ELSE # /IF scan %]
404 <div id="searchresults">
405 [% INCLUDE 'page-numbers.inc' %]
407 <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
408 [% IF ( searchdesc ) %]
409 [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
410 <input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/>
412 [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
413 <input type="hidden" name="[% LIMIT_INPUT.input_name | html %]" value="[% LIMIT_INPUT.input_value | html %]"/>
417 <!-- TABLE RESULTS START -->
420 [% IF ( AmazonCoverImages || LocalCoverImages || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
423 <th colspan="2">Results</th>
426 <!-- Actual Search Results -->
427 [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
428 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
429 <tr id="row[% SEARCH_RESULT.biblionumber | html %]">
430 [% IF ( AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
431 <td class="bookcoverimg">
432 <div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]">
433 [% IF ( LocalCoverImages ) %][% SEARCH_RESULT.localimage | html %]
434 <div id="local-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image local-coverimg">
435 <a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]" class => 'p1'>
436 <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" alt="Local cover image" />
438 <div class="hint">Local cover image</div>
442 [% IF ( AmazonCoverImages && SEARCH_RESULT.normalized_isbn ) %]
443 <div id="amazon-bookcoverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image amazon-bookcoverimg">
444 <a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]" class => 'p1'>
445 <img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="Cover image from Amazon.com" />
447 <div class="hint">Amazon cover image</div>
449 [% END # /IF AmazonCoverImages %]
451 [% IF ( SyndeticsCovers ) %]
452 [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]
453 <div id="syndetics-bookcoverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image syndetics-bookcoverimg">
454 <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
455 <img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&client=[% Koha.Preference('SyndeticsClientCode') | html %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc | html %]&oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="Cover from Syndetics" />
457 <div class="hint">Syndetics cover image</div>
462 [% IF ( IntranetCoce && CoceProviders && SEARCH_RESULT.normalized_isbn ) %]
463 [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
465 <div id="coce-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image coce-coverimg">
466 <a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]" class => 'p1'>
467 <span style="block" title="[% SEARCH_RESULT.biblionumber | url %]" class="[% coce_id | html %]" id="coce-thumbnail[% SEARCH_RESULT.biblionumber | html %]"></span>
469 <div class="hint">Coce cover image</div>
474 [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %]
475 [% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %]
476 [% IF custom_cover_image_url %]
477 <div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg">
478 <a class="custom_cover_image" href="[% custom_cover_image_url | url %]">
479 <img alt="Custom cover image" src="[% custom_cover_image_url | url %]" />
481 <div class="hint">Custom cover image</div>
487 [% END # /IF( AmazonCoverImages || LocalCoverImages || IntranetCoce )%]
490 <input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" style="display:none" />
494 [% IF ( !item_level_itypes ) || Koha.Preference('BiblioItemtypeInfo') %]
495 <div class="result-biblio-itemtype">
496 [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
497 <img src="[% SEARCH_RESULT.imageurl | html %]" alt="[% SEARCH_RESULT.description | html %]" />
499 [% SEARCH_RESULT.description | html %]
503 [% SEARCH_RESULT.result_number | html %].
504 [% SEARCH_RESULT.XSLTResultsRecord | $raw %]
507 [% IF ( SEARCH_RESULT.norequests ) %]
508 <span class="noholdstext">No holds allowed</span>
510 [% IF CAN_user_reserveforothers_place_holds %]
511 <a id="reserve_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %])</a>
512 [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&findborrower=[% holdfor_cardnumber | uri %]">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></span>[% END %]
513 [% IF ( holdforclub ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&club=[% holdforclub | uri %]">Place hold for [% holdforclub_name | html %]</a></span>[% END %]
515 Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %])
517 [% END # /IF SEARCH_RESULT.norequests %]
518 [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
519 | <a id="recall_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Recalls ([% Biblio.RecallsCount( SEARCH_RESULT.biblionumber ) | html %])</a>
522 [% IF Koha.Preference('intranetbookbag') == 1 %]
523 [% IF ( SEARCH_RESULT.incart ) %]
524 | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
526 | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
528 [% END # / IF intranetbookbag %]
530 [% IF Koha.Preference('ArticleRequests') %]
531 | <a id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a>
534 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
535 | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a>
537 [% IF ( CAN_user_editcatalogue_edit_items ) %]
538 | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a>
541 [% IF ( CAN_user_acquisition_order_manage ) %]
542 [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
543 | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&basketno=[% searchtoorder_basketno | uri %]&biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Add order</a>
547 [% IF ( OPACBaseURL ) %]
548 <span class="view-in-opac">
549 | <a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a>
552 </p> <!-- /.holds -->
556 <div class="availability">
557 [% IF ( SEARCH_RESULT.items_count ) %]
558 <div class="results_available_count">
559 [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
560 <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
563 [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %]
565 [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
568 </div> <!-- /.results_available_count -->
570 [% BLOCK search_result_items %]
571 [% IF status_count == "onloancount" %]
572 [% IF SEARCH_RESULT.${status_count} > 0 %]
573 <div class="results_checkedout">[% SEARCH_RESULT.${status_count} | html %] checked out:</div>
575 [% ELSIF status_count == "othercount" %]
576 [% IF SEARCH_RESULT.${status_count} > 0 %]
577 <div class="results_unavailable">[% SEARCH_RESULT.${status_count} | html %] unavailable:</div>
580 [% IF SEARCH_RESULT.${items_loop}.size > 0 %]
581 <ul class="[% items_loop | html %]_items">
582 [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
583 [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %]
584 <li class="result_itype_image">
585 <img src="[% items_loo.imageurl | html %]" title="[% items_loo.description | html %]" alt="[% items_loo.description | html %]" />
589 [% IF ( items_loo.branchname ) %]
590 [% items_loo.branchname | html %]
592 [% IF ( items_loo.location ) %]
593 <span class="shelvingloc">[% items_loo.location | html %]</span>
597 [% IF ( items_loo.itemcallnumber ) %]
598 <a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% items_loo.itemcallnumber |uri %]%22">[% items_loo.itemcallnumber | html %]</a>
600 <div class="result_item_details">
601 [% IF ( items_loo.withdrawn ) %]
602 ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => items_loo.withdrawn ) | html %])
604 [% IF ( items_loo.itemlost ) %]
605 ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => items_loo.itemlost ) | html %])
607 [% IF ( items_loo.damaged ) %]
608 ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => items_loo.damaged ) | html %])
610 [% IF ( items_loo.intransit ) %]
613 [% IF ( items_loo.onhold ) %]
616 [% IF ( items_loo.notforloan ) %]
617 [% items_loo.notforloan | html %]
619 <span class="item_count">[% items_loo.count | html %]</span>
620 </div> <!-- /.result_item_details -->
621 [% IF item_level_itypes && items_loo.description %]
622 <span class="item-itype-desc">[% items_loo.description | html %]</span>
625 [% END # /FOREACH other_items_loo %]
626 </ul> <!-- /.[% items_loop | html %]_items -->
627 [% END # /IF SEARCH_RESULT.${items_loop}.size %]
628 [% END # /BLOCK search_result_items %]
630 [% PROCESS search_result_items status_count="availablecount" items_loop="available_items_loop" %]
632 [% PROCESS search_result_items status_count="onloancount" items_loop="onloan_items_loop" %]
634 [% PROCESS search_result_items status_count="othercount" items_loop="other_items_loop" %]
637 [% ELSE # /IF ( SEARCH_RESULT.items_count ) %]
639 [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %]
640 <strong id="altholdings_heading">Other holdings:</strong>
642 [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
643 <li id="alternateholdings">[% ALTERNATEHOLDING.holding | html %]</li>
647 <span class="unavailable">No items</span>
649 [% END # /IF ( SEARCH_RESULT.items_count ) %]
650 </div> <!-- /.availability -->
653 [% END # /FOREACH SEARCH_RESULT %]
656 </div> <!-- /#bookbag_form -->
658 [% INCLUDE 'page-numbers.inc' %]
659 [% ELSE #/IF total %]
660 <!-- No Results Found -->
663 [% IF ( outer_sup_results_loop ) %]
665 <div class="col-sm-4">
666 [% FOREACH outer_sup_results_loo IN outer_sup_results_loop %]
667 [% IF ( outer_sup_results_loo.inner_sup_results_loop ) %]
668 [% outer_sup_results_loo.servername | html %]
669 [% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %]
671 <a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi | $raw %][% inner_sup_results_loo.limit_cgi | $raw %][% inner_sup_results_loo.sort_by | uri %][% inner_sup_results_loo.link | uri %]">[% inner_sup_results_loo.title | html %]</a>
675 [% END # FOREACH outer_sup_results_loo %]
676 </div> <!-- /.col-sm-4 -->
678 [% END #/IF outer_sup_results_loop %]
680 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
681 <!-- Value will be set here by placeHold() -->
682 <input type="hidden" name="findborrower" id="holdFor" value="" />
683 <input type="hidden" name="club" id="holdForClub" value="" />
686 <form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
687 <!-- Value will be set here by addToList() -->
688 <input type="hidden" name="multi_listadd" value="1"/>
692 </div> <!-- /.col-sm-10.col-sm-push-2 -->
694 <div class="col-sm-2 col-sm-pull-10">
696 [% INCLUDE 'facets.inc' %]
698 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
699 </div> <!-- /.row -->
701 [% MACRO jsinclude BLOCK %]
702 [% Asset.js("js/browser.js") | $raw %]
703 [% Asset.js("lib/hc-sticky.js") | $raw %]
704 [% Asset.js("js/coce.js") | $raw %]
706 var PREF_AmazonCoverImages = parseInt( "[% Koha.Preference('AmazonCoverImages') | html %]", 10);
707 var q_array = new Array(); // will hold search terms, if present
708 var PREF_LocalCoverImages = parseInt( "[% Koha.Preference('LocalCoverImages') | html %]", 10);
709 var PREF_IntranetCoce = parseInt( "[% Koha.Preference('IntranetCoce') | html %]", 10);
710 var PREF_CoceProviders = "[% Koha.Preference('CoceProviders') | html %]";
711 var CoceHost = "[% CoceHost | html %]";
712 var CoceProviders = "[% CoceProviders | html %]";
713 var PREF_BrowseResultSelection = parseInt( "[% Koha.Preference('BrowseResultSelection') | html %]", 10);
714 var PREF_NotHighlightedWords = "[% Koha.Preference('NotHighlightedWords') | html %]";
715 var biblionumber = "[% biblionumber | html %]";
716 var holdfor_cardnumber = "[% holdfor_cardnumber | html %]";
717 var holdforclub = "[% holdforclub | html %]";
718 [% IF SEARCH_RESULTS %]
719 var SEARCH_RESULTS = 1;
721 var SEARCH_RESULTS = 0;
723 var new_results_browser = [
724 [%- FOREACH result IN SEARCH_RESULTS -%]
725 [%- result.biblionumber | html -%],
728 var strQuery="&frameworkcode=";
729 [%- FOREACH z3950_search_param IN z3950_search_params -%]
730 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";
733 var search_result = {
734 query_desc: "[% To.json( query_desc ) | html %]",
735 query_cgi: "[% query_cgi | html %]",
736 limit_cgi: "[% limit_cgi | html %]",
737 sort_by: "[% sort_by | html %]",
738 gotoPage: "[% gotoPage | html %]",
739 gotoNumber: "[% gotoNumber | html %]",
740 searchid: "[% searchid | html %]",
741 total: "[% total | html %]",
742 first_result_number: "[% SEARCH_RESULTS.first.result_number | html %]",
743 first_biblionumber: "[% SEARCH_RESULTS.first.biblionumber | html %]",
744 last_biblionumber: "[% SEARCH_RESULTS.last.biblionumber | html %]",
747 [% Asset.js("js/pages/results.js") | $raw %]
750 [% INCLUDE 'intranet-bottom.inc' %]