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

--- Comment #1 from babar junaid <[email protected]> ---
Created attachment 210876
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210876&action=edit
Bug 44029: Return the TOO_MANY circulation rule with the blocker

Bug 44029: Return the TOO_MANY circulation rule with the blocker

When AllowTooManyOverride is off, CanBookBeIssued put TOO_MANY in
issuingimpossible but the rule that set the limit in needsconfirmation.
A refused checkout never passes needsconfirmation to the template, so
"Maximum checkouts calculated from the circulation rule for" always said
All item types / All patron categories / All libraries.

Test plan:
1. Set AllowTooManyOverride to "Don't allow".
2. Add a circulation rule for one library, one patron category and one
   item type with "Current checkouts allowed" = 1.
3. At that library, check out one item of that type to a patron of that
   category, then try a second one.
4. The refusal's rule box says All item types / All patron categories /
   All libraries.
5. Apply the patch, restart Plack, repeat 3.
6. The box names the item type, category and library of your rule.
7. Set AllowTooManyOverride to "Allow" and repeat: the override prompt
   still shows the same rule.
8. prove t/db_dependent/Circulation/TooMany.t

Sponsored-by: Koha Solutions

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to