View | Details | Raw Unified | Return to bug 15565
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (+1 lines)
Lines 570-575 Link Here
570
                var biblioNum = $(this).val();
570
                var biblioNum = $(this).val();
571
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
571
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
572
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
572
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
573
                    total -= 2;
573
                } else {
574
                } else {
574
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
575
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
575
                }
576
                }
(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 215-221 if ( $query->param('place_reserve') ) { Link Here
215
215
216
        my $canreserve = 1;
216
        my $canreserve = 1;
217
        if (   $maxreserves
217
        if (   $maxreserves
218
            && $reserve_cnt + $nbRequested >= $maxreserves )
218
            && $reserve_cnt + $nbRequested > $maxreserves )
219
        {
219
        {
220
            $canreserve = 0;
220
            $canreserve = 0;
221
        }
221
        }
222
- 

Return to bug 15565