← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:11:28 2013

Filename/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/modules/opac-results.tt
StatementsExecuted 3032 statements in 16.9ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118.23ms365msTemplate::Document::::__ANON__[:541]Template::Document::__ANON__[:541]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
110128µs1757.7ms
# spent 365ms (8.23+357) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/modules/opac-results.tt:541] which was called: # once (8.23ms+357ms) by Template::Document::process at line 151 of Template/Document.pm
[% SET TagsShowEnabled = ( TagsEnabled && TagsShowOnList ) %] [% SET TagsInputEnabled = ( opacuserlogin && TagsEnabled && TagsInputOnList ) %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalogue &rsaquo; [% IF ( searchdesc ) %] Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %] [% ELSE %] You did not specify any search criteria. [% END %] [% INCLUDE 'doc-head-close.inc' %] <link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS Feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
# spent 57.6ms making 2 calls to Template::Context::include, avg 28.8ms/call # spent 71µs making 11 calls to Template::Stash::XS::get, avg 6µs/call # spent 11µs making 2 calls to Template::Stash::XS::set, avg 6µs/call # spent 9µs making 2 calls to Template::Stash::undefined, avg 5µs/call
278µs[% IF ( OpacStarRatings == 'all' ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.rating.js"></script>
3728µs210µs<link rel="stylesheet" type="text/css" href="[% themelang %]/css/jquery.rating.css" />[% END %] <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
# spent 10µs making 2 calls to Template::Stash::XS::get, avg 5µs/call
4713µs13µs[% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.highlight-3.js"></script>
# spent 3µs making 1 call to Template::Stash::XS::get
5727µs6290µs[% END %]<script type="text/javascript">
# spent 287µs making 5 calls to Template::Context::filter, avg 57µs/call # spent 3µs making 1 call to Template::Stash::XS::get
611µs//<![CDATA[
733µs[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %]
86116µs699µsfunction holdMultiple() {
# spent 96µs making 5 calls to Template::Stash::XS::get, avg 19µs/call # spent 3µs making 1 call to Template::Stash::undefined
9 var checkedBiblioNums = ""; // Separated by "/"
10518µs5131µs var checkedCount = 0;
# spent 131µs making 5 calls to Template::Filters::html_filter, avg 26µs/call
11 if(document.bookbag_form.biblionumber.length > 0) {
12 for (var i=0; i < document.bookbag_form.biblionumber.length; i++) {
1344µs if (document.bookbag_form.biblionumber[i].checked) {
14 checkedBiblioNums += (document.bookbag_form.biblionumber[i].value + "/");
15 checkedCount++;
161800ns }
17 }
18 }
19
20 if (checkedCount > 0) {
21 holdBiblioNums(checkedBiblioNums);
221600ns } else {
23 alert(MSG_NO_RECORD_SELECTED);
24 }
25}
26
27function holdBiblioNums(numList) {
28 // numList: biblio numbers separated by "/"
29 $("#hold_form_biblios").attr("value", numList);
30 $("#hold_form").submit();
31115µs26µs}[% END %][% END %]
# spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call
32
33[% IF ( TagsInputEnabled && loggedinusername ) %]
34function tagSelected() {
35 var checkedBoxes = $(".searchresults :checkbox:checked");
36 if ($(checkedBoxes).size() == 0) {
371700ns alert(MSG_NO_RECORD_SELECTED);
38 } else {
39 $("#tagsel_tag").hide();
40 $("#sort_by").hide();
41 $("#tagsel_form").show();
42 }
43}
44
45function tagCanceled() {
46 $("#tagsel_form").hide();
47 $("#tagsel_tag").show();
48 $("#sort_by").show();
49 $("#tagsel_new").val("");
50 $("#tagsel_status, .tagstatus").empty().hide();
51}
52
53function tagAdded() {
54 var checkedBoxes = $(".searchresults :checkbox:checked");
55 if ($(checkedBoxes).size() == 0) {
56 alert(MSG_NO_RECORD_SELECTED);
57 return false;
58 }
59
60 var tag = $("#tagsel_new").val();
61 if (!tag || (tag == "")) {
62 alert(MSG_NO_TAG_SPECIFIED);
63 return false;
64 }
65
66 var bibs = [];
67 for (var i = 0; i < $(checkedBoxes).size(); i++) {
68 var box = $(checkedBoxes).get(i);
69 bibs[i] = $(box).val();
70 }
71
72 KOHA.Tags.add_multitags_button(bibs, tag);
73 return false;
7417µs13µs}[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
75[% IF ( OpacHighlightedWords ) %]
76var q_array = new Array(); // holds search terms if available
77
781800nsfunction highlightOff() {
79 $("td").removeHighlight();
80 $(".highlight_toggle").toggle();
81}
82function highlightOn() {
83 var x;
84 for (x in q_array) {
85 if ( q_array[x].length > 0 ) {
86 $(".title").highlight(q_array[x]);
87 $(".author").highlight(q_array[x]);
88 $(".results_summary").highlight(q_array[x]);
89 }
90 }
91 $(".highlight_toggle").toggle();
92}
9318µs13µs[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
94$(document).ready(function(){
95 [% IF ( OpacHighlightedWords ) %]
96 $('a.title').each(function() {
9711µs $(this).attr("href", $(this).attr("href") + "&query_desc=[% query_desc | uri %]");
98 });
99224µs16µs [% END %]
# spent 6µs making 1 call to Template::Stash::XS::get
10024µs
10114µs145µs [% IF ( IDreamBooksResults ) %]
# spent 45µs making 1 call to Template::Context::filter
102 $('.idbresult').each(function() {
103 var isbn = $(this).children('a').text().replace(/\s*/,'');
104111µs16µs var element = this;
# spent 6µs making 1 call to Template::Stash::XS::get
105
10614µs1465µs if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
# spent 465µs making 1 call to Template::Filters::uri_filter
107 // Use Microsoft XDR for IE version 8 or above
108 var xdr = new XDomainRequest();
10911µs xdr.open("get", "http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
110 xdr.onload = function() {
111 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1121700ns eval(json); // json is now a regular JSON object
113 if(json.total_results > 0 && json.book.rating > 0){
114 $(element).children('a').html("<img src='"+json.book.to_read_or_not_small+"' alt='"+json.book.title+" by "+json.book.author+"' title='Rating based on reviews of "+json.book.title+"'>"+json.book.rating+"%");
115 $(element).show();
116 } else {
117 $(element).remove();
118 }
119 }
120 xdr.send();
121 } else {
122 $.getJSON("http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
123 if(json.total_results > 0 && json.book.rating > 0){
124 $(element).children('a').html("<img src='"+json.book.to_read_or_not_small+"' alt='"+json.book.title+" by "+json.book.author+"' title='Rating based on reviews of "+json.book.title+"'>"+json.book.rating+"%");
125 $(element).show();
126 } else {
127 $(element).remove();
128 }
129 });
130 }
131 });
132113µs16µs [% END %]
# spent 6µs making 1 call to Template::Stash::XS::get
133
134114µs15µs [% IF ( opacbookbag ) %]$(".addtocart").show();[% END %]
# spent 5µs making 1 call to Template::Stash::XS::get
135
13611µs[% IF ( opacbookbag ) %]
137 [% IF ( virtualshelves ) %]
1381800ns var param1 = "<label for=\"addto\">"+_("Add to: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
139 [% IF ( opacbookbag ) %] param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>";
14018µs13µs [% END %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %]
# spent 3µs making 1 call to Template::Stash::XS::get
141 param1 += "<optgroup label=\""+_("Your lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %]
142 param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %]
143 param1 += "<\/optgroup>";[% END %]
144 [% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %];
145 param1 += "<\/optgroup>";[% END %]
146 [% IF (( addbarshelvesloop && addbarshelvesloop.size>9) || (addpubshelvesloop && addpubshelvesloop.size>9 )) %]
147 param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
148 [% END %]
149 param1 += "<option value=\"newlist\">[ "+_("New list")+" ]<\/option>";
150110µs217µs [% END %]
# spent 13µs making 1 call to Template::Stash::XS::get # spent 4µs making 1 call to Template::Stash::undefined
15117µs13µs [% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
152 param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />";
153 [% ELSE %]
154 var param1 = "<a id=\"addto\" class=\"addtocart\" href=\"#\">" + _("Add to cart") + "<\/a>";
15529µs13µs [% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
15611µs[% ELSE %]
157 var param1 = "<label for=\"addto\">"+_("Add to list: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
15811µs[% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %]
159 param1 += "<optgroup label=\""+_("Your lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %]
160 param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %]
161 param1 += "<\/optgroup>";[% END %]
162 [% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %][% END %]
163 param1 +="<\/optgroup><option value=\"newlist\">[ "+_("New list")+" ]<\/option>"
1641700ns [% END %]
165 [% END %]
166 param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />";
167110µs14µs[% END %]
# spent 4µs making 1 call to Template::Stash::XS::get
16811µs
169 $('#sortsubmit').hide();
170 $('#sort_by').change(function() {
171 $('#bookbag_form').submit();
172 });
173 $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_("Clear all")+"<\/a>");
174 $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_("Select all")+"<\/a>");
17518µs13µs[% IF ( opacbookbag ) %]$("span.addto").html(param1);[% ELSE %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %]$("span.addto").html(param1);[% END %][% END %][% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
176[% IF ( opacbookbag || virtualshelves ) %]
177 [% IF ( virtualshelves ) %]
178 $("#addto").change(function(){
179 cartList();
180 });
181 $(".addto").find("input:submit").click(function(){
182 cartList();
18311µs return false;
184 });
185 [% ELSE %]
186 $("#addto").click(function(){
187 cartList();
188 return false;
189 });
190116µs16µs [% END %]
# spent 6µs making 1 call to Template::Stash::XS::get
19118µs13µs[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
19211µs
193 function cartList(){
194 if($("#addto").find("option:selected").attr("value") == "addtolist"){
19511µs var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
196 if (vShelfAdd()) {
19711µs Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?selectedshelf='+shelfnumber+'&' + vShelfAdd());
198 }
199 return false;
20012µs } else if($("#addto").find("option:selected").attr("value") == "newlist"){
201 [% IF ( loggedinusername ) %]if (vShelfAdd()) {
202 Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd());
203112µs216µs }[% ELSE %] alert(_("You must be logged in to create or add to lists")); [% END %]
# spent 13µs making 1 call to Template::Stash::XS::get # spent 3µs making 1 call to Template::Stash::undefined
204 return false;
205 } else if($("#addto").find("option:selected").attr("value") == "morelists"){
206 [% IF ( loggedinusername ) %]if (vShelfAdd()) {
20711µs Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?' + vShelfAdd());
20819µs211µs }[% ELSE %] alert(_("You must be logged in to create or add to lists")); [% END %]
# spent 9µs making 1 call to Template::Stash::XS::get # spent 2µs making 1 call to Template::Stash::undefined
209 return false;
21011µs }
211 if($("#addto").find("option:selected").attr("value") == "addtocart" || $("#addto").attr("class") == "addtocart"){
2121900ns addMultiple();
213 return false;
214 }
21511µs }
216 $("#CheckAll").click(function(){
217 $("#bookbag_form").checkCheckboxes();
218 return false;
219 });
220 $("#CheckNone").click(function(){
221 $("#bookbag_form").unCheckCheckboxes();
222 return false;
223 });
224[% IF ( RequestOnOpac ) %]
225 [% IF ( opacuserlogin ) %]
226 [% IF ( DisplayMultiPlaceHold ) %]
227 $("#placehold").html("<input class=\"submit\" type=\"submit\" value=\""+_("Place reserve")+"\"/>");
228 $("#placehold").find("input:submit").click(function(){
229 holdMultiple();
230 return false;
231 });
23218µs13µs [% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
23317µs13µs [% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
23429µs13µs[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
2351800ns $("#holdDetails").hide();
2361800ns
237[% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
238 q_array = query_desc.split(" ");
23922µs // ensure that we don't have "" at the end of the array, which can
24011µs // break the highlighter
241172µs194µs while (q_array.length > 0 && q_array[q_array.length-1] == "") {
# spent 94µs making 1 call to Template::Context::filter
2421900ns q_array = q_array.splice(0,-1);
243 }
244 highlightOn();
245 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ;});
246315µs26µs $("#highlight_toggle_off").show().click(function() {highlightOff();});[% END %][% END %]
# spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call
24722µs
24815µs135µs[% IF ( TagsInputEnabled && loggedinusername ) %]
# spent 35µs making 1 call to Template::Context::filter
249 $("#tagsel_tag").click(function(){
250 tagSelected();
251 return false;
252 });
25311µs $("#tagsel_cancel").click(function(){
2541900ns tagCanceled();
25514µs127µs return false;
# spent 27µs making 1 call to Template::Context::filter
256 });
257 $("#tagsel_button").click(function(){
258 tagAdded();
259 return false;
26011µs });
26111µs
26216µs156µs $(".tag_add").click(function(){
# spent 56µs making 1 call to Template::Context::filter
263 var thisid = $(this).attr("id");
264 thisid = thisid.replace("tag_add","");
265113µs16µs $(this).hide();
# spent 6µs making 1 call to Template::Stash::XS::get
266 $("#tagform"+thisid).show();
26715µs122µs $("#newtag"+thisid).focus();
268 $("#newtag"+thisid+"_status").empty().hide();
269 return false;
270 });
27114µs110µs $(".cancel_tag_add").click(function(){
272 var thisid = $(this).attr("id");
273 thisid = thisid.replace("cancel","");
274 $("#tagform"+thisid).hide();
27514µs147µs $("#tag_add"+thisid).show();
276 $("#newtag"+thisid).val("");
277 $("#newtag"+thisid+"_status").empty().hide();
278 return false;
27913µs113µs });
# spent 13µs making 1 call to Template::Filters::html_filter
280 $(".tagbutton").click(function(){
281 var thisid = $(this).attr("title");
28211µs var tag = $("#newtag"+thisid).val();
283 if (!tag || (tag == "")) {
284 alert(MSG_NO_TAG_SPECIFIED);
285 return false;
286 }
2871600ns KOHA.Tags.add_tag_button(thisid, tag);
288 return false;
289 });
290114µs16µs[% END %]
# spent 6µs making 1 call to Template::Stash::XS::get
29118µs14µs [% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %]
# spent 4µs making 1 call to Template::Stash::XS::get
29218µs13µs [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
29317µs14µs [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
# spent 4µs making 1 call to Template::Stash::XS::get
29411µs
29511µs[% IF ( DidYouMean ) %]
2961600ns $("#didyoumean").load("/cgi-bin/koha/svc/suggestion?render=stub&q=[% querystring |uri %]",
2971800ns function() {
298 $(".searchsuggestion").parent().parent().css({
299 "border-color": "#F4ECBE",
300 "background-color": "#FFFBEA"
301 });
302 });
30317µs13µs[% END %]
# spent 3µs making 1 call to Template::Stash::XS::get
304
305});
306
307//]]>
308</script>
309</head>
310<body id="results">
311212µs13µs [% IF ( opacfacets ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] <div id="bd">
# spent 3µs making 1 call to Template::Stash::XS::get
312
313117µs197.7ms[% INCLUDE 'masthead.inc' %] <div id="yui-main">
# spent 97.7ms making 1 call to Template::Context::include
31412µs <div class="yui-b">
315 <div id="userresults" class="container">
316 [% IF ( DidYouMean ) %] <div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&amp;q=[% querystring |uri %]">suggestions</a></div>
317230µs220.7ms [% END %] <div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div>
# spent 20.7ms making 1 call to Template::Context::include # spent 5µs making 1 call to Template::Stash::XS::get
31823µs [% IF ( koha_spsuggest ) %] Did you mean: <ul style="list-style: none;">
319 [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %] <li>
320 <a href="/cgi-bin/koha/opac-search.pl?q=[% SPELL_SUGGES.spsuggestion %]">[% SPELL_SUGGES.spsuggestion %]</a>
321 </li>
322 [% END %] </ul>
323113µs222µs[% END %] [% IF ( query_error ) %] <div class="dialog alert">
# spent 18µs making 1 call to Template::Stash::XS::get # spent 4µs making 1 call to Template::Stash::undefined
324 <h4>Error:</h4>
325 [% query_error %] </div>
32619µs212µs[% END %]
# spent 10µs making 1 call to Template::Stash::XS::get # spent 2µs making 1 call to Template::Stash::undefined
327
328<!-- Search Results Table -->
32911µs[% IF ( total ) %]
330[% IF ( scan ) %]
33111µs <h1>Scan index:</h1>
332 <form action="/cgi-bin/koha/opac-search.pl" method="get">
333 <table>
33411µs <tr>
335 <td>
336 Scan index for: <input type="text" name="q" id="scan-index" size="35" value="" />
337 </td>
338 </tr>
339 <tr>
340 <td>
341 <label for="scan-index">Indexed in:</label>
342 <select name="idx" id="scan-index">
343 <option value="">Any word</option>
344 <option value="kw,phr:">Any phrase</option>
345 <option value="ti:">Title</option>
346 <option value="ti,phr:">Title phrase</option>
347 <option value="au,phr:">Author</option>
348 <option value="su:">Subject</option>
349 <option value="su,phr:">Subject phrase</option>
350 <option value="se:">Series</option>
351 <option value="pb:">Publisher</option>
352 <option value="nt:">Notes</option>
353 <option value="se:">Series Title</option>
354 <option value="sn:">ISBN</option>
355 <option value="ss:">ISSN</option>
356 </select>
357 <input type="hidden" name="scan" value="1" />
358 </td>
359 </tr>
360 </table>
361 </form>
362
363 <form action="/cgi-bin/koha/opac-search.pl" method="get">
364 <table>
365 <tr>
366 <th>Term/Phrase</th>
367 <th>Count</th>
368 </tr>
369 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] [% IF ( SEARCH_RESULT.even ) %] <tr class="highlight">
370 [% ELSE %] <tr>
371 [% END %] <td>
372 <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</a>
373 </td>
374 <td>
375 [% SEARCH_RESULT.author %] </td>
376 </tr>
377 [% END %] </table>
378 </form>
379[% ELSE %] <div class="searchresults">
380 <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
381 [% IF ( searchdesc ) %] [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
382 [% END %] [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
38344µs [% END %]
384615µs212µs [% END %]
# spent 9µs making 1 call to Template::Iterator::AUTOLOAD # spent 3µs making 1 call to Template::Stash::XS::get
385715µs574µs
# spent 62µs making 4 calls to Template::Context::filter, avg 16µs/call # spent 12µs making 1 call to Template::Iterator::AUTOLOAD
38629µs13µs <!-- TABLE RESULTS START -->
# spent 3µs making 1 call to Template::Stash::XS::get
387112µs216µs <table>
# spent 13µs making 1 call to Template::Stash::XS::get # spent 3µs making 1 call to Template::Stash::undefined
388557µs527µs <tr><td colspan="6" class="resultscontrol">
# spent 26µs making 4 calls to Template::Stash::XS::get, avg 6µs/call # spent 1µs making 1 call to UNIVERSAL::isa
389432µs319.7ms <div class="resort"> <select id="sort_by" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div>
# spent 19.6ms making 1 call to Template::Context::include # spent 88µs making 1 call to Template::Config::iterator # spent 1µs making 1 call to UNIVERSAL::isa
390612µs5112µs <div class="cartlist">
# spent 83µs making 4 calls to Template::Filters::html_filter, avg 21µs/call # spent 29µs making 1 call to Template::Config::iterator
391 <!-- checkall, clearall are now needed for placehold -->
392 <span class="checkall"></span>
39357µs113µs <span class="clearall"></span>
# spent 13µs making 1 call to Template::Iterator::get_first
394528µs547µs [% IF ( OpacHighlightedWords ) %] <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
# spent 20µs making 1 call to Template::Stash::XS::get # spent 16µs making 2 calls to Template::Iterator::get_next, avg 8µs/call # spent 7µs making 1 call to Template::Stash::undefined # spent 4µs making 1 call to Template::Iterator::get_first
395319µs28µs <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
# spent 4µs making 1 call to Template::Stash::XS::set # spent 4µs making 1 call to Template::Stash::XS::get
396320µs28µs [% END %] [% IF ( opacbookbag || virtualshelves ) %] <span class="addto"></span>
# spent 5µs making 1 call to Template::Stash::XS::get # spent 3µs making 1 call to Template::Stash::XS::set
397425µs29µs [% END %] <span id="placehold"><!-- input class="submit" type="submit" value="Place Hold"/ --></span>
# spent 6µs making 1 call to Template::Stash::XS::set # spent 3µs making 1 call to Template::Stash::XS::get
398512µs13µs <div id="holdDetails"></div>
# spent 3µs making 1 call to Template::Stash::XS::set
39944µs
40037µs [% IF ( TagsInputEnabled && loggedinusername ) %] <span id="tagsel_span">
40125µs <input id="tagsel_tag" class="submit" type="submit" value="Tag"/>
402 </span>
4031800ns <span id="tagsel_form" style="display:none">
4041900ns <label for="tagsel_new">New tag:</label>
405 <input name="tagsel_new" id="tagsel_new" maxlength="100" />
406 <input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="Add" type="submit" value="Add" />
40711µs <a href="#" id="tagsel_cancel">(done)</a>
408 </span>
409 <span id="tagsel_status" class="tagsel_tatus" style="display:none;">
410 Tag status here. </span>
41117µs13µs [% END %] </div>
# spent 3µs making 1 call to Template::Stash::XS::get
412
413 </td></tr>
414 <!-- Actual Search Results -->
4151800ns [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
416 [% UNLESS ( loop.odd ) %]
417 <tr class="highlight">
418 [% ELSE %] <tr>
4191251.58ms1501.08ms [% END %] <td class="select selectcol">[% IF ( opacbookbag ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% ELSE %] [% IF ( virtualshelves ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% ELSE %] [% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% END %][% END %][% END %][% END %][% END %]</td>
# spent 1.01ms making 125 calls to Template::Stash::XS::get, avg 8µs/call # spent 68µs making 25 calls to Template::Iterator::odd, avg 3µs/call
420150602µs50337µs <td class="select selectcol">[% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %]</td>
# spent 337µs making 50 calls to Template::Stash::XS::get, avg 7µs/call
4212513µs
422 [% IF !item_level_itypes || BiblioItemtypeImage == 'Koha' %] [% UNLESS ( noItemTypeImages ) %] <td class="itypecol">
4231313µs [% IF ( SEARCH_RESULT.imageurl ) %] <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" alt="[% SEARCH_RESULT.description %]" />
4242514µs [% END %] [% IF ( SEARCH_RESULT.score_avg ) %] <img src="[% themelang %]/../images/bonus.png" title="bonus" style="max-height: 35px;"/>
425 [% END %] </td>
42650438µs50196µs [% END %] [% END %] [% IF ( AuthorisedValueImages ) %] <td class="itypecol">
# spent 196µs making 50 calls to Template::Stash::XS::get, avg 4µs/call
427 [% FOREACH authorised_value_image IN SEARCH_RESULT.authorised_value_images %] [% IF ( authorised_value_image.imageurl ) %] <img src="[% authorised_value_image.imageurl %]" alt="[% authorised_value_image.label %]" title="[% authorised_value_image.label %]">
428 [% END %] [% END %] </td>
42925251µs50430µs [% END %] <td>
# spent 321µs making 25 calls to Template::Stash::XS::get, avg 13µs/call # spent 109µs making 25 calls to Template::Stash::undefined, avg 4µs/call
430 [% IF ( COinSinOPACResults ) %]
4312514µs [% IF ( SEARCH_RESULT.coins ) %]
43225271µs25135µs <!-- COinS / Openurl --><span class="Z3988" title="[% SEARCH_RESULT.coins %]"></span>
# spent 135µs making 25 calls to Template::Stash::XS::get, avg 5µs/call
433100822µs75416µs [% END %] [% END %] [% IF ( OPACXSLTResultsDisplay ) %] [% SEARCH_RESULT.XSLTResultsRecord %] [% ELSE %] [% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
# spent 416µs making 75 calls to Template::Stash::XS::get, avg 6µs/call
43410051µs [% ELSE %] [% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
435 [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
4362510µs [% END %] [% END %] [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %]</a>
437 [% IF ( SEARCH_RESULT.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author %]</a>
438 [% ELSE %]&nbsp; [% END %] <span class="results_summary publisher"><span class="label">Publication:</span>
4392510µs [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %] [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %] [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %] [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %] [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %] </span>
440 [% IF ( SEARCH_RESULT.summary ) %] <span class="result_summary">
441 [% SEARCH_RESULT.summary %] </span>
442 [% END %] [% IF ( SEARCH_RESULT.copyrightdate ) %]<span class="results_summary date"><span class="label">Date:</span>[% SEARCH_RESULT.copyrightdate %]</span>[% END %] <span class="results_summary availability">
443 <span class="label">Availability:</span>
4442526µs [% IF ( SEARCH_RESULT.available_items_loop.size() ) %] <span class="available"><strong>Copies available:</strong>
445 [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %] [% IF available_items_loo.this_branch %]<span class="highlight-row-results">[% ELSE %]<span>[% END %] [% IF ( singleBranchMode ) %] [% available_items_loo.location %] [% ELSE %] [% available_items_loo.branchname %] [% END %] [% IF ( OPACItemsResultsDisplay ) %] [% UNLESS ( singleBranchMode ) %][% available_items_loo.location %][% END %] [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %] [% END %] ([% available_items_loo.count %]), </span>
446 [% END %] </span>
447 [% ELSE %] [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS ) %] [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %] &nbsp;<span id="alternateholdings">[% ALTERNATEHOLDING.holding %]</span>, [% END %] [% ELSE %] <span class="unavailable">No items available:</span>
448 [% END %] [% END %] <span class="unavailable">
449 [% IF ( SEARCH_RESULT.onloancount ) %] Issued ([% SEARCH_RESULT.onloancount %]), [% END %] [% IF ( SEARCH_RESULT.wthdrawncount ) %] Withdrawn ([% SEARCH_RESULT.wthdrawncount %]), [% END %] [% UNLESS ( SEARCH_RESULT.hidelostitems ) %][% IF ( SEARCH_RESULT.itemlostcount ) %] Lost ([% SEARCH_RESULT.itemlostcount %]),[% END %][% END %] [% IF ( SEARCH_RESULT.damagedcount ) %] Damaged ([% SEARCH_RESULT.damagedcount %]),[% END %] [% IF ( SEARCH_RESULT.orderedcount ) %] On order ([% SEARCH_RESULT.orderedcount %]),[% END %] [% IF ( SEARCH_RESULT.onholdcount ) %] On reserve ([% SEARCH_RESULT.onholdcount %]),[% END %] [% IF ( SEARCH_RESULT.intransitcount ) %] In transit ([% SEARCH_RESULT.intransitcount %]),[% END %] </span>
450 </span>
45125181µs25100µs [% END %] [% IF ( SEARCH_RESULT.score_avg ) %] <span class="result_summary">
# spent 100µs making 25 calls to Template::Stash::XS::get, avg 4µs/call
452259µs <img src="[% themelang %]/../images/Star[% SEARCH_RESULT.score_int %].gif" title="" style="max-height: 15px;"/> <span style="font-size: 85%;">[% SEARCH_RESULT.score_avg %] / 5 (on [% SEARCH_RESULT.num_scores %] rates)</span>
453 [% IF ( SEARCH_RESULT.num_critics ) %] <span class="social_data">[% SEARCH_RESULT.num_critics %] Internet user critics</span>
454 [% END %] [% IF ( SEARCH_RESULT.num_critics_pro ) %] <span class="social_data">[% SEARCH_RESULT.num_critics_pro %] Professional critics</span>
455 [% END %] [% IF ( SEARCH_RESULT.num_videos ) %] <span class="social_data">[% SEARCH_RESULT.num_videos %] Video extracts</span>
4562512µs [% END %] [% IF ( SEARCH_RESULT.num_quotations ) %] <span class="social_data">[% SEARCH_RESULT.num_quotations %] Quotations</span>
457 [% END %] </span>
45850756µs1001.01ms [% END %] [% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %] [% IF ( TagsShowEnabled ) %] [% IF ( SEARCH_RESULT.TagLoop.size ) %] <div class="results_summary tags"><span class="label">Tags:</span>
# spent 834µs making 50 calls to Template::Stash::XS::get, avg 17µs/call # spent 172µs making 50 calls to Template::Stash::undefined, avg 3µs/call
459 <ul style="display: inline; list-style: none;">[% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]<li style="display: inline; list-style: none;"><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
460 [% END %] </ul>
461 </div>
462100999µs100856µs [% END %] [% END %] [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<span class="results_summary"><span class="label">Match:</span> [% SEARCH_RESULT.searchhighlightblob %]</span>[% END %] [% IF ( OpacStarRatings == 'all' ) %] <div class="results_summary ratings">
# spent 764µs making 75 calls to Template::Stash::XS::get, avg 10µs/call # spent 92µs making 25 calls to Template::Stash::undefined, avg 4µs/call
4635048µs
464[% FOREACH i IN [ 1 2 3 4 5 ] %] [% IF ( SEARCH_RESULT.rating_avg == i ) %] <input class="star" type="radio" name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" checked="checked" disabled="disabled" />
465[% ELSE %] <input class="star" type="radio" name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" disabled="disabled" />
4662516µs[% END %] [% END %] <input type="hidden" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" />
467 <input type="hidden" name="loggedinuser" value="[% loggedinuser %]" />
468
469 [% IF ( SEARCH_RESULT.rating_total ) > 0 %] <span id="rating_total_[% SEARCH_RESULT.biblionumber %]">&nbsp;&nbsp;([% SEARCH_RESULT.rating_total %] votes)</span>
470 [% ELSE %] <br />
471 [% END %] </div>
47225190µs25104µs [% END %] <span class="results_summary actions"><span class="label">Actions:</span>
# spent 104µs making 25 calls to Template::Stash::XS::get, avg 4µs/call
47350313µs25153µs [% IF ( RequestOnOpac ) %] [% UNLESS ( SEARCH_RESULT.norequests ) %] [% IF ( opacuserlogin ) %] [% IF ( AllowOnShelfHolds ) %] <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place reserve</a><!-- add back when available 0 holds in queue-->
# spent 153µs making 25 calls to Template::Stash::XS::get, avg 6µs/call
4742521µs [% ELSE %]
475 [% IF ( SEARCH_RESULT.itemsissued ) %]
476259µs <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place reserve</a><!-- add back when available 0 holds in queue-->
477 [% END %]
47825176µs2595µs [% END %]
# spent 95µs making 25 calls to Template::Stash::XS::get, avg 4µs/call
47975267µs25141µs [% END %]
# spent 141µs making 25 calls to Template::Stash::XS::get, avg 6µs/call
48050836µs50775µs [% END %]
# spent 670µs making 25 calls to Template::Stash::XS::get, avg 27µs/call # spent 106µs making 25 calls to Template::Stash::undefined, avg 4µs/call
48150263µs25166µs [% END %]
# spent 166µs making 25 calls to Template::Stash::XS::get, avg 7µs/call
4822511µs
4832511µs [% IF ( TagsInputEnabled ) %]
484 [% IF ( loggedinusername ) %]
485 <a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a>
48625116µs <span id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;">
487 <label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s), separated by a comma:</label>
488 <input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
4892511µs <input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
490 <a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">(done)</a>
491 </span>
4922510µs <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
493 Tag status here. </span>
494 [% ELSIF ( loop.first ) %]<span id="login4tags">Log in to add tags.</span>
49525184µs25102µs [% END %] [% END %] [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( virtualshelves ) %]<a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]'); return false;">Save to Lists</a>
# spent 102µs making 25 calls to Template::Stash::XS::get, avg 4µs/call
49650389µs75544µs [% END %][% END %][% END %] [% IF ( opacbookbag ) %] [% IF ( SEARCH_RESULT.incart ) %] <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">In your cart</a> <a class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
# spent 448µs making 50 calls to Template::Stash::XS::get, avg 9µs/call # spent 96µs making 25 calls to Template::Stash::undefined, avg 4µs/call
4971001.17ms100649µs [% ELSE %] <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
# spent 649µs making 100 calls to Template::Stash::XS::get, avg 6µs/call
498150744µs75618µs [% END %] [% END %] </span>
# spent 528µs making 50 calls to Template::Stash::XS::get, avg 11µs/call # spent 90µs making 25 calls to Template::Stash::undefined, avg 4µs/call
4992510µs </td><td>
50050275µs25146µs <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
# spent 146µs making 25 calls to Template::Stash::XS::get, avg 6µs/call
5011751.74ms1752.28ms [% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %] [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %][% IF ( using_https ) %]<span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /></span>[% ELSE %]<span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /></span>[% END %][% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsCoverImages ) %] [% IF SEARCH_RESULT.normalized_isbn %] [% IF ( using_https ) %] <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" /></span>
# spent 1.74ms making 125 calls to Template::Stash::XS::get, avg 14µs/call # spent 432µs making 25 calls to Template::Iterator::AUTOLOAD, avg 17µs/call # spent 104µs making 25 calls to Template::Stash::undefined, avg 4µs/call
502100125µs [% ELSE %] <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" /></span>
5035038µs [% END %] [% ELSE %] <span class="no-image">No cover image available</span>
504125629µs75314µs [% END %] [% END %] [% END %] [% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></span>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]<span style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] </a>
# spent 314µs making 75 calls to Template::Stash::XS::get, avg 4µs/call
50575358µs751.21ms [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% SEARCH_RESULT.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% SEARCH_RESULT.normalized_isbn %]" /></a>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF ( IDreamBooksResults ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<div class="idbresult" style="display: none;">
# spent 803µs making 25 calls to Template::Context::filter, avg 32µs/call # spent 316µs making 25 calls to Template::Stash::XS::get, avg 13µs/call # spent 92µs making 25 calls to Template::Stash::undefined, avg 4µs/call
506 [% IF ( IDreamBooksReviews ) %] <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]#idb_critic_reviews">
5072526µs [% ELSE %] <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
50825454µs25212µs [% END %] [% SEARCH_RESULT.normalized_isbn %]</a></div>
# spent 212µs making 25 calls to Template::Stash::XS::get, avg 8µs/call
50925174µs25102µs [% END %][% END %] </td>
# spent 102µs making 25 calls to Template::Stash::XS::get, avg 4µs/call
5102558µs25334µs </tr>
# spent 334µs making 25 calls to Template::Filters::url_filter, avg 13µs/call
511 [% END %] </table>
5122510µs </form>
5137650µs18µs <form id="hold_form" name="hold_form" method="get" action="/cgi-bin/koha/opac-reserve.pl">
# spent 8µs making 1 call to Template::Iterator::AUTOLOAD
5145131µs <!-- The value will be set by holdBiblioNums() in basket.js -->
51526117µs26354µs <input id="hold_form_biblios" type="hidden" name="biblionumbers" value=""/>
# spent 350µs making 25 calls to Template::Iterator::get_next, avg 14µs/call # spent 3µs making 1 call to Template::Stash::XS::get
516 </form>
51727µs11µs </div>
# spent 1µs making 1 call to UNIVERSAL::isa
5182953µs53.05ms [% END %] <div id="bottom-pages">[% INCLUDE 'page-numbers.inc' %]</div>
# spent 2.97ms making 1 call to Template::Context::include # spent 64µs making 1 call to Template::Config::iterator # spent 9µs making 1 call to Template::Stash::XS::get # spent 7µs making 1 call to Template::Stash::XS::set # spent 2µs making 1 call to Template::Stash::undefined
51922µs
520535µs527µs [% ELSE %] [% END %] [% IF ( suggestion ) %] [% IF ( AnonSuggestions ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% ELSE %][% IF ( loggedinusername ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% END %][% END %] [% END %] </div>
# spent 24µs making 4 calls to Template::Stash::XS::get, avg 6µs/call # spent 4µs making 1 call to Template::Stash::undefined
521310µs</div>
52215µs122µs</div>
# spent 22µs making 1 call to Template::Iterator::get_first
523212µs15µs [% IF ( opacfacets ) %] <div class="yui-b"><div id="facetcontainer" class="container">
# spent 5µs making 1 call to Template::Stash::XS::get
524219µs18µs <!-- FACETS START -->
# spent 8µs making 1 call to Template::Stash::XS::set
5252125µs180.2ms [% INCLUDE 'opac-facets.inc' %]
# spent 80.2ms making 1 call to Template::Context::include
52636µs <!-- FACETS END -->
5272624µs</div></div>
5282625µs13µs [% END %] </div>
# spent 3µs making 1 call to Template::Stash::XS::get
52933µs
530[% IF ( LibraryThingForLibrariesID ) %] [% IF ( using_https ) %] <script src="https://ltfl.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]&amp;systype=koha" type="text/javascript"></script>
531[% ELSE %] <script src="http://ltfl.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]&amp;systype=koha" type="text/javascript"></script>
5322144µs363.9ms[% END %] [% END %] [% INCLUDE 'opac-bottom.inc' %]
# spent 63.9ms making 1 call to Template::Context::include # spent 33µs making 1 call to Template::Stash::XS::get # spent 9µs making 1 call to Template::Stash::undefined
53317µs
- -
5351700ns
- -
53811µs
- -
540177µs
- -
5431249µs