4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Catalog › [% 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 %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'browser-strings.inc' %]
8 [% IF BiblioDefaultViewmarc %]
9 [% SET DetailPage="MARCdetail.pl" %]
10 [% ELSIF BiblioDefaultViewlabeled_marc %]
11 [% SET DetailPage="labeledMARCdetail.pl" %]
12 [% ELSIF BiblioDefaultViewisbd %]
13 [% SET DetailPage="ISBDdetail.pl" %]
15 [% SET DetailPage="detail.pl" %]
19 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
21 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
22 <script type="text/javascript">
24 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
25 var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be placed on hold.");
26 var q_array = new Array(); // will hold search terms, if present
27 [% IF ( AmazonCoverImages ) %]
28 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
29 function verify_images() {
30 $("img").each(function(i){
31 if ((this.src.indexOf('images-amazon.com') >= 0) || (this.src.indexOf('images.amazon.com') >=0)) {
34 if ((w == 1) || (h == 1)) {
35 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
36 } else if ((this.complete != null) && (!this.complete)) {
37 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
43 $(window).load(function() {
47 function Dopop(link) {
48 newin=window.open(link,'popup','width=500,height=500,toolbar=false,scrollbars=yes,resizeable=yes');
51 var checkboxes = $("#searchresults").find(":checkbox");
52 var vshelf = vShelfAdd(checkboxes);
53 if($("#addto").find("option:selected").attr("value") == "addtolist"){
54 var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
56 Dopop('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?shelfnumber='+shelfnumber+'&confirm=1&' + vshelf);
59 } else if($("#addto").find("option:selected").attr("value") == "newlist"){
61 Dopop('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?newshelf=1&' + vshelf);
64 } else if($("#addto").find("option:selected").attr("value") == "morelists"){
66 Dopop('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?' + vshelf);
70 if($("#addto").find("option:selected").attr("value") == "addtocart"){
71 addMultiple(checkboxes);
75 $(document).ready(function() {
76 $("#cartsubmit").click(function(){
80 $("#z3950submit").click(function(){
85 $("#searchheader").on("click",".placehold", function(){
87 $(".btn-group").removeClass("open");
90 $(".placeholdfor").click(function(){
92 $(".btn-group").removeClass("open");
95 $("#forgetholdfor").click(function(){
97 $(".btn-group").removeClass("open");
100 $('#sortbyform').find("input:submit").hide();
101 $('#sort_by').change(function() {
102 $('#sortbyform').submit();
104 var param1 = "<label for=\"addto\">"+_("Add to:")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
105 [% IF ( intranetbookbag ) %] param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>"; [% END %]
107 [% IF Koha.Preference('virtualshelves') %]
108 [% IF add_to_some_private_shelves.count %]
109 param1 += "<optgroup label=\""+_("Your lists:")+"\">";
110 [% SET number_of_private_shelves = 0 %]
111 [% FOREACH s IN add_to_some_private_shelves %]
112 [% IF shelfnumber != s.shelfnumber %]
113 param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
114 [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
115 [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
118 param1 += "<\/optgroup>";
120 [% IF add_to_some_public_shelves.count %]
121 param1 += "<optgroup label=\""+_("Public lists:")+"\">";
122 [% SET number_of_public_shelves = 0 %]
123 [% FOREACH s IN add_to_some_public_shelves %]
124 [% IF shelfnumber != s.shelfnumber %]
125 param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
126 [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
127 [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
130 param1 += "<\/optgroup>";
132 [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
133 param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
135 param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
138 param1 += "<\/select> <input id=\"cartsubmit\" type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />";
139 $('#sortsubmit').hide();
140 $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_("Clear all")+"<\/a>");
141 $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_("Select all")+"<\/a>");
142 $("span.addto").html(param1);
143 $("#addto").change(function(){
146 $(".addto").find("input:submit").click(function(){
151 $("#tagsel_span").html("<input id=\"tagsel_tag\" class=\"submit\" type=\"submit\" value=\"Tag\"/>");
153 $("#selection_ops").show();
154 $(".selection").show();
155 [% IF ( query_desc ) %]
156 toHighlight = $("p,span.results_summary,a.title");
157 var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
158 q_array = query_desc.split(" ");
159 // ensure that we don't have "" at the end of the array, which can
160 // break the highlighter
161 while (q_array.length > 0 && q_array[q_array.length-1] == "") {
162 q_array = q_array.splice(0,-1);
165 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ;});
166 $("#highlight_toggle_off").show().click(function() {highlightOff();});
169 [% IF (SEARCH_RESULTS) %]
171 [%- FOREACH result IN SEARCH_RESULTS -%]
172 [%- result.biblionumber %],
175 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
176 browser.create([% SEARCH_RESULTS.first.result_number %], '[% query_cgi %]', '[% limit_cgi | uri %]','[% sort_cgi | uri %]',
177 newresults, '[% total %]');
179 [% IF (gotoPage && gotoNumber) %]
180 [% IF (gotoNumber == 'first') %]
181 window.location = '/cgi-bin/koha/catalogue/[% gotoPage %]?biblionumber=' + [% SEARCH_RESULTS.first.biblionumber %] + '&searchid=[% searchid %]';
182 [% ELSIF (gotoNumber == 'last') %]
183 window.location = '/cgi-bin/koha/catalogue/[% gotoPage %]?biblionumber=' + [% SEARCH_RESULTS.last.biblionumber %] + '&searchid=[% searchid %]';
187 [% IF LocalCoverImages %]
188 KOHA.LocalCover.LoadResultsCovers();
191 $("#select_all").on("click",function(e){
195 $("#clear_all").on("click",function(e){
200 $("#searchresults").on("click",".addtocart",function(e){
202 var selection_id = this.id;
203 var biblionumber = selection_id.replace("cart","");
204 addRecord(biblionumber);
207 $("#searchresults").on("click",".cartRemove",function(e){
209 var selection_id = this.id;
210 var biblionumber = selection_id.replace("cartR","");
211 delSingleRecord(biblionumber);
217 [% IF ( query_desc ) %]function highlightOff() {
218 toHighlight.removeHighlight();
219 $(".highlight_toggle").toggle();
221 function highlightOn() {
224 q_array[x] = q_array[x].toLowerCase();
225 var myStopwords = "[% Koha.Preference('NotHighlightedWords') %]".toLowerCase().split('|');
226 if ( (q_array[x].length > 0) && ($.inArray(q_array[x], myStopwords) == -1) ) {
227 toHighlight.highlight(q_array[x]);
230 $(".highlight_toggle").toggle();
233 function selectAll () {
234 $(".selection").prop("checked", true);
236 function clearAll () {
237 $(".selection").prop("checked", false);
239 function placeHold () {
240 var checkedItems = $(".selection:checked");
241 if ($(checkedItems).size() == 0) {
242 alert(MSG_NO_ITEM_SELECTED);
247 $(checkedItems).each(function() {
248 var bib = $(this).val();
249 if ($("#reserve_" + bib).size() == 0) {
250 alert(MSG_NON_RESERVES_SELECTED);
259 $("#hold_form_biblios").val(bibs);
260 $("#hold_form").submit();
264 function forgetPatron(){
265 $.removeCookie("holdfor", { path: '/' });
266 $(".holdforlink").remove();
267 $("#placeholdc").html("<a class=\"btn btn-default btn-xs placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o\"></i> "+_("Place hold")+"</a>");
270 function addToList () {
271 var checkedItems = $(".selection:checked");
272 if ($(checkedItems).size() == 0) {
273 alert(MSG_NO_ITEM_SELECTED);
277 $(checkedItems).each(function() {
278 bibs += $(this).val() + "/";
281 var url = "/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?biblionumbers=" + bibs;
282 window.open(url, 'Add_to_virtualshelf', 'width=500, height=400, toolbar=false, scrollbars=yes');
286 /* this function open a popup to search on z3950 server. */
287 function PopupZ3950() {
288 var strQuery = GetZ3950Terms();
290 window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
293 /* provide Z3950 search points */
294 function GetZ3950Terms(){
295 var strQuery="&frameworkcode=";
296 [% FOREACH z3950_search_param IN z3950_search_params %]
297 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";
302 var holdFor = function (){
303 $("#holdFor").val("");
306 var holdForPatron = function () {
307 $("#holdFor").val("[% holdfor_cardnumber %]");
313 <body id="catalog_results" class="catalog">
314 [% INCLUDE 'header.inc' %]
315 [% INCLUDE 'cat-search.inc' %]
317 <div id="breadcrumbs">
318 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
319 › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
320 › Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]
323 <div id="doc3" class="yui-t1">
328 [% IF ( outer_sup_results_loop ) %]
330 <div class="yui-u first">
333 [% IF ( koha_spsuggest ) %]
334 <div style="font-size: 12px;">Did you mean:
335 <ul style="list-style: none;">
336 [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
338 <a href="/cgi-bin/koha/catalogue/search.pl?q=[% SPELL_SUGGES.spsuggestion %]">[% SPELL_SUGGES.spsuggestion %]</a>
346 <div id="searchheader">
347 <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="sortbyform">
348 [% IF ( searchdesc ) %]
349 [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
350 <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
352 [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
353 <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
356 <!-- RE-SORT START -->
357 <label for="sort_by">Sort By: </label>
358 <select id="sort_by" name="sort_by">
359 [% INCLUDE 'resort_form.inc' %]
361 <input type="submit" value="Go" />
365 [% total %] result(s) found [% 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 %] Catalog[% END %].<br />
367 <div id="selection_ops" class="cartlist" style="display:none">
368 <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
370 <a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
372 <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
373 <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
375 <span class="addto"></span>
376 [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
378 <div id="placeholdc" class="btn-group">
379 <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button>
380 <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
381 <span class="caret"></span>
383 <ul class="dropdown-menu">
384 <li><a href="#" class="placehold">Place hold</a></li>
385 <li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
386 <li class="divider"></li>
387 <li><a href="#" id="forgetholdfor">Forget [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
391 <div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
395 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>[% END %]
399 <div id="searchheader">
400 <form method="post" name="fz3950" class="fz3950bigrpad">
401 <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button>
403 <h3>No results found</h3>
404 [% IF ( searchdesc ) %]
406 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 %] Catalog[% END %].
409 <p>You did not specify any search criteria.</p>
414 [% IF ( query_error ) %]
415 <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
418 <!-- Search Results Table -->
422 <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
426 [% IF ( scan_search_term_to_use ) %]
427 Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" />
429 Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" />
435 <label for="scan-index">Indexed in:</label>
436 <select name="idx" id="scan-index">
437 <option value="">Any word</option>
438 [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option>
439 [% ELSE %]<option value="any,phr">Any phrase</option>[% END %]
440 [% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option>
441 [% ELSE %]<option value="ti">Title</option>[% END %]
442 [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option>
443 [% ELSE %]<option value="ti,phr">Title phrase</option>[% END %]
444 [% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option>
445 [% ELSE %]<option value="au,phr">Author</option>[% END %]
446 [% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option>
447 [% ELSE %]<option value="su">Subject</option>[% END %]
448 [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option>
449 [% ELSE %]<option value="su,phr">Subject phrase</option>[% END %]
450 [% IF ( ms_se ) %]<option selected="selected" value="se">Series</option>
451 [% ELSE %]<option value="su">Series</option>[% END %]
452 [% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option>
453 [% ELSE %]<option value="pb">Publisher</option>[% END %]
454 [% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option>
455 [% ELSE %]<option value="nt">Notes</option>[% END %]
456 [% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option>
457 [% ELSE %]<option value="sn">ISBN</option>[% END %]
458 [% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option>
459 [% ELSE %]<option value="ss">ISSN</option>[% END %]
461 <input type="hidden" name="scan" value="1" />
467 <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
473 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
476 <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title %]"">[% SEARCH_RESULT.title |html %]</a>
479 [% SEARCH_RESULT.author %]
487 <div id="searchresults">
488 <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
489 [% IF ( searchdesc ) %]
490 [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
491 <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
493 [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
494 <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
498 <!-- TABLE RESULTS START -->
501 [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th> </th>[% END %]
502 <th colspan="2">Results</th>
505 <!-- Actual Search Results -->
506 [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
507 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
509 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
511 [% IF ( LocalCoverImages) %]
512 <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
513 <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
516 [% IF ( AmazonCoverImages ) %]
517 [% IF ( SEARCH_RESULT.normalized_isbn ) %]
518 <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
519 <img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
520 [% ELSIF ( !LocalCoverImages ) %]
521 <a class="p1 no-amazon-cover" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
522 <img src="https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />
529 <input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" style="display:none" />
532 [% IF ( SEARCH_RESULT.XSLTResultsRecord ) %]
533 [% SEARCH_RESULT.result_number %].
534 [% SEARCH_RESULT.XSLTResultsRecord %]
536 <p>[% SEARCH_RESULT.result_number %].
537 [% biblionumber = SEARCH_RESULT.biblionumber %]
539 [% INCLUDE 'biblio-default-view.inc' %]
540 <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</b>
542 [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]
543 [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %]
544 [% IF ( SEARCH_RESULT.volume ) %][% SEARCH_RESULT.volume %][% END %] [% IF ( SEARCH_RESULT.volumeddesc ) %], [% SEARCH_RESULT.volumeddesc %][% END %]
546 [% IF ( SEARCH_RESULT.summary ) %]
547 [% IF ( SEARCH_RESULT.author ) %]
548 <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a>
553 [% UNLESS ( item_level_itypes ) %]
554 [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
555 <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" style="float: left; margin: .1em;" alt="[% SEARCH_RESULT.description %]" />
557 [% SEARCH_RESULT.description %]
559 [% SEARCH_RESULT.summary %]</p>
562 [% UNLESS ( item_level_itypes ) %]
563 [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
564 <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" style="float: left; margin: .1em;" alt="" />
568 [% IF ( SEARCH_RESULT.author ) %]
569 <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a>
574 <span class="results_imprint">[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
575 [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %] [% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSIF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %]</span>
576 [% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">Edition: [% SEARCH_RESULT.edition %]</span>[% END %]
577 <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %]
578 [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %]
579 <span class="results_itemtype">[% SEARCH_RESULT.description %]</span>
580 [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
581 [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %]
583 [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% SEARCH_RESULT.searchhighlightblob %]</p>[% END %]
589 [% IF ( SEARCH_RESULT.norequests ) %]
590 <span class="noholdstext">No holds allowed</span>
592 <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) %])</a>
593 [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
596 [% IF Koha.Preference('intranetbookbag') == 1 %]
597 [% IF ( SEARCH_RESULT.incart ) %]
598 | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a>
600 | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a>
602 [% END # / IF intranetbookbag %]
604 [% IF Koha.Preference('ArticleRequests') %]
605 | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a>
608 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
609 | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a>
611 [% IF ( CAN_user_editcatalogue_edit_items ) %]
612 | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit items</a>
615 [% IF ( OPACBaseURL ) %]
616 <span class="view-in-opac">
617 | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">OPAC view</a>
624 <td><div class="availability">
625 [% IF ( SEARCH_RESULT.items_count ) %]
627 [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
628 <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
631 [% SEARCH_RESULT.items_count %] [% IF ( SEARCH_RESULT.itemsplural ) %]items[% ELSE %]item[% END %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]
633 [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
638 [% IF ( SEARCH_RESULT.availablecount ) %]
640 [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
642 [% IF item_level_itypes && !noItemTypeImages && available_items_loo.imageurl %]
643 <li style="list-style: none; list-style-type: none;">
644 <img src="[% available_items_loo.imageurl %]" title="[% available_items_loo.description %]" alt="[% available_items_loo.description %]" />
648 [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
649 [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
650 [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %]
651 ([% available_items_loo.count %])
652 [% IF item_level_itypes && available_items_loo.description %]
653 <br/>[% available_items_loo.description %]
660 [% IF ( SEARCH_RESULT.onloancount ) %]
661 <span class="status">[% SEARCH_RESULT.onloancount %] on loan:</span>
663 [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %]
664 [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %]
665 <li style="list-style: none; list-style-type: none;">
666 <img src="[% onloan_items_loo.imageurl %]" title="[% onloan_items_loo.description %]" alt="[% onloan_items_loo.description %]" />
670 [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %]
671 [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
672 [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
673 ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
674 [% IF item_level_itypes && onloan_items_loo.description %]
675 <br/>[% onloan_items_loo.description %]
682 [% IF ( SEARCH_RESULT.othercount ) %]
683 <span class="unavailable">[% SEARCH_RESULT.othercount %] unavailable:</span>
685 [% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %]
686 [% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %]
687 <li style="list-style: none; list-style-type: none;">
688 <img src="[% other_items_loo.imageurl %]" title="[% other_items_loo.description %]" alt="[% other_items_loo.description %]" />
692 [% IF ( other_items_loo.branchname ) %][% other_items_loo.branchname %][% END %]
693 [% IF ( other_items_loo.location ) %][% other_items_loo.location %][% END %]
694 [% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber %]</a>][% END %]
695 [% IF ( other_items_loo.withdrawn ) %](Withdrawn)[% END %]
696 [% IF ( other_items_loo.itemlost ) %](Lost)[% END %]
697 [% IF ( other_items_loo.damaged ) %](Damaged)[% END %]
698 [% IF ( other_items_loo.intransit ) %](In transit)[% END %]
699 [% IF ( other_items_loo.onhold ) %](On hold)[% END %]
700 [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %]
701 ([% other_items_loo.count %])
702 [% IF item_level_itypes && other_items_loo.description %]
703 <br/>[% other_items_loo.description %]
710 [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %]
711 <strong id="altholdings_heading">Other holdings:</strong>
713 [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
714 <li id="alternateholdings">[% ALTERNATEHOLDING.holding %]</li>
718 <span class="unavailable">No items</span>
720 [% END %] <!-- /items count -->
729 [% INCLUDE 'page-numbers.inc' %]
731 <!-- No Results Found -->
733 [% IF ( outer_sup_results_loop ) %]
736 [% FOREACH outer_sup_results_loo IN outer_sup_results_loop %]
737 <!-- <div class="yui-b"> -->
738 [% IF ( outer_sup_results_loo.inner_sup_results_loop ) %]
739 [% outer_sup_results_loo.servername %]
740 [% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %]
741 <div><a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi %][% inner_sup_results_loo.limit_cgi |html %][% inner_sup_results_loo.sort_by %][% inner_sup_results_loo.link %]">[% inner_sup_results_loo.title |html %]</a></div>
750 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
751 <!-- Value will be set here by placeHold() -->
752 <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
753 <input type="hidden" name="findborrower" id="holdFor" value="" />
754 <input type="hidden" name="multi_hold" value="1"/>
757 <form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
758 <!-- Value will be set here by addToList() -->
759 <input id="list_form_biblios" type="hidden" name="biblionumbers" value="" />
760 <input type="hidden" name="multi_listadd" value="1"/>
766 [% INCLUDE 'facets.inc' %]
769 [% INCLUDE 'intranet-bottom.inc' %]