Merge remote-tracking branch 'origin/3.10.x' into 3.10.x
This commit is contained in:
commit
fd93baad37
|
|
@ -54,7 +54,7 @@ if ( $run_report ) {
|
|||
# XXX GetHoldsQueueItems() does not support $itemtypeslimit!
|
||||
my $items = GetHoldsQueueItems($branchlimit, $itemtypeslimit);
|
||||
$template->param(
|
||||
branch => $branchlimit,
|
||||
branchlimit => $branchlimit,
|
||||
total => scalar @$items,
|
||||
itemsloop => $items,
|
||||
run_report => $run_report,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ $(document).ready(function() {
|
|||
[% IF ( run_report ) %]
|
||||
[% IF ( total ) %]
|
||||
<div class="results">[% total %] items found for
|
||||
[% IF ( branch ) %][% branch %][% ELSE %]ALL libraries[% END %]
|
||||
[% IF ( branchlimit ) %][% branchlimit %][% ELSE %]ALL libraries[% END %]
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<div class="dialog message">No items found.</div>
|
||||
|
|
|
|||
|
|
@ -397,6 +397,16 @@ function showLess() {
|
|||
document.location = loc;
|
||||
}
|
||||
|
||||
function holdSel() {
|
||||
var items = document.getElementById('records').value;
|
||||
if (items) {
|
||||
parent.opener.document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
|
||||
window.close();
|
||||
} else {
|
||||
alert(MSG_NO_RECORD_SELECTED);
|
||||
}
|
||||
}
|
||||
|
||||
function updateBasket(updated_value,target) {
|
||||
if(target){
|
||||
target.$('#basketcount').html("<span>"+updated_value+"</span>");
|
||||
|
|
|
|||
Loading…
Reference in New Issue