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 574-579 Link Here
574
                var biblioNum = $(this).val();
574
                var biblioNum = $(this).val();
575
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
575
                if ($("#reqspecific_" + biblioNum + ":checked").size() > 0) {
576
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
576
                    total += parseInt($("input[name='checkitem_'"+biblioNum+"]:checked").length);
577
                    total -= 2;
577
                } else {
578
                } else {
578
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
579
                    total += parseInt($("select[name='holds_to_place_count_"+biblioNum+"']").val());
579
                }
580
                }
(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 216-222 if ( $query->param('place_reserve') ) { Link Here
216
216
217
        my $canreserve = 1;
217
        my $canreserve = 1;
218
        if (   $maxreserves
218
        if (   $maxreserves
219
            && $reserve_cnt + $nbRequested >= $maxreserves )
219
            && $reserve_cnt + $nbRequested > $maxreserves )
220
        {
220
        {
221
            $canreserve = 0;
221
            $canreserve = 0;
222
        }
222
        }
223
- 

Return to bug 15565