Lines 88-99
function placeHold () {
Link Here
|
88 |
$(".holdsep").text("| "); |
88 |
$(".holdsep").text("| "); |
89 |
$(".hold").text(_("Place Hold")); |
89 |
$(".hold").text(_("Place Hold")); |
90 |
$("#downloadcartc").empty(); |
90 |
$("#downloadcartc").empty(); |
91 |
yuiToolbar(); |
|
|
92 |
|
91 |
|
93 |
/* Define two custom functions (asc and desc) for string sorting */ |
92 |
/* Define two custom functions (asc and desc) for string sorting */ |
94 |
jQuery.fn.dataTableExt.oSort['callnumbers-asc'] = function(x,y) { |
93 |
jQuery.fn.dataTableExt.oSort['callnumbers-asc'] = function(x,y) { |
95 |
var x_array = x.split("<span>"); |
94 |
var x_array = x.split("<div>"); |
96 |
var y_array = y.split("<span>"); |
95 |
var y_array = y.split("<div>"); |
97 |
|
96 |
|
98 |
/* Pop the first elements, they are empty strings */ |
97 |
/* Pop the first elements, they are empty strings */ |
99 |
x_array.shift(); |
98 |
x_array.shift(); |
Lines 109-116
function placeHold () {
Link Here
|
109 |
}; |
108 |
}; |
110 |
|
109 |
|
111 |
jQuery.fn.dataTableExt.oSort['callnumbers-desc'] = function(x,y) { |
110 |
jQuery.fn.dataTableExt.oSort['callnumbers-desc'] = function(x,y) { |
112 |
var x_array = x.split("<span>"); |
111 |
var x_array = x.split("<div>"); |
113 |
var y_array = y.split("<span>"); |
112 |
var y_array = y.split("<div>"); |
114 |
|
113 |
|
115 |
/* Pop the first elements, they are empty strings */ |
114 |
/* Pop the first elements, they are empty strings */ |
116 |
x_array.shift(); |
115 |
x_array.shift(); |
Lines 348-355
function placeHold () {
Link Here
|
348 |
| <a href="#" onclick="placeHold(); return false;">Place hold</a> |
347 |
| <a href="#" onclick="placeHold(); return false;">Place hold</a> |
349 |
[% END %] |
348 |
[% END %] |
350 |
|
349 |
|
351 |
|
|
|
352 |
[% END %] |
350 |
[% END %] |
|
|
351 |
|
353 |
</p> |
352 |
</p> |
354 |
<table id="itemst"> |
353 |
<table id="itemst"> |
355 |
<thead><tr> |
354 |
<thead><tr> |
Lines 385-391
function placeHold () {
Link Here
|
385 |
<td> |
384 |
<td> |
386 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
385 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
387 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
386 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
388 |
<span>[% ITEM_RESULT.itemcallnumber %] [% ITEM_RESULT.branchname %] <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></span> |
387 |
<div><span class="nowrap"><strong>[% ITEM_RESULT.itemcallnumber %]</strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> |
389 |
[% END %] |
388 |
[% END %] |
390 |
[% ELSE %] |
389 |
[% ELSE %] |
391 |
This record has no items. |
390 |
This record has no items. |
392 |
- |
|
|