https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29525

--- Comment #19 from Tomás Cohen Arazi <[email protected]> ---
Ok, the current behavior is that only 'active' holds count towards the max:


    my $today_holds = Koha::Holds->search({
        borrowernumber => $borrowernumber,
        reservedate    => dt_from_string->date
    });

    if (!$params->{ignore_hold_counts} && defined $holds_per_day &&
$holds_per_day ne ''
        && $today_holds->count() >= $holds_per_day )
    {
        return { status => 'tooManyReservesToday', limit => $holds_per_day };
    }

so moving on with this, with no behavior change on the calculation. Phew.

Should the whole feature have an on/off switch? Something like OPACHoldsPrivacy
on/off?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to