[Koha-bugs] [Bug 29525] Privacy settings for patrons should also affect holds history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 16:49:21 CET 2022


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

--- Comment #19 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
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.


More information about the Koha-bugs mailing list