[Koha-bugs] [Bug 30794] 'Default checkout, hold and return policy' overrides Unlimited holds in 'Default checkout, hold policy by patron category'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 17 17:16:24 CET 2022


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

--- Comment #9 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
Test plan:

1: have an All/All rule in the circ matrix that allows unlimited holds
2: set Default checkout, hold, and return policy to maximum 1 total hold
allowed
3: set Default checkout, hold policy by patron category to allow Board patrons
to have unlimited holds (remember you can't just save a blank set of rules
here, so you'll want to put a number into Total Checkouts, nothing in Total
Holds, and save that -- you'll end up with "Unlimited" showing in Total Holds).
4: Place a hold for a Board patron. It works!
5: Try to place a second hold for the same Board patron. It tells you you're
over the limit, "[patron] can only place a maximum of 1 total holds."
6: In reports, select * from circulation_rules where rule_name='max_holds', see
that your Board patron rule didn't get created

APPLY PATCH

7: Back in circ rules, delete and re-create your Default checkout, hold policy
by patron category rule for Board patrons
8: Try your second hold again. It works!
9: Run your report again, see you now have a rule where categorycode=B,
rule_name=max_holds, rule_value is null

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list