Merge remote-tracking branch 'origin/3.10.x' into 3.10.x

This commit is contained in:
Chris Cormack 2013-05-14 20:36:07 +12:00
commit fd93baad37
3 changed files with 12 additions and 2 deletions

View File

@ -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,

View File

@ -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>

View File

@ -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>");