https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25112
Bug ID: 25112
Summary: Koha::CirculationRules->set_rules should handle scopes
per rule
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Koha::CirculationRules->set_rules is currently too complicated to use. Right
now, in order to specify multiple rules at once, they must all be rules that
accept the same set of scopes. Otherwise we can get this type of errors:
1/9 set_rule cannot set 'holds_per_record' for a 'checkout_type'! at
t/db_dependent/Circulation/GetHardDueDate.t line 215.
Validating scopes at set_rule() is good, but set_rules() should examine each
rule and pass the correct scope to set_rule() instead of passing all scopes to
every rule like it is doing now.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/