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 563-568 Link Here
563
                var biblioNum = $(this).val();
563
                var biblioNum = $(this).val();
564
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
564
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
565
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
565
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
566
                    total -= 2;
566
                } else {
567
                } else {
567
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
568
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
568
                }
569
                }
(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 220-226 if ( $query->param('place_reserve') ) { Link Here
220
220
221
        my $canreserve = 1;
221
        my $canreserve = 1;
222
        if (   $maxreserves
222
        if (   $maxreserves
223
            && $reserve_cnt + $nbRequested >= $maxreserves )
223
            && $reserve_cnt + $nbRequested > $maxreserves )
224
        {
224
        {
225
            $canreserve = 0;
225
            $canreserve = 0;
226
        }
226
        }
227
- 

Return to bug 15565