Bug 25806

Summary: Move Koha::CirculationRules special cases into overloaded Koha::CirculationRule method
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Martin Renvoize (ashimema) 2020-06-18 15:09:06 UTC
The current special case accessors are inconsistently named and inconsistently implemented in the Koha::CirculationRules module.. it would be better to allow access to rules via get_effective_rule and get_effective_rules consistently and remove the special accessors by replacing the special case handling, mostly adding defaults, with overloaded an overloaded value field accessor in the Koha::CirculationRule result object.
Comment 2 Katrin Fischer 2023-12-10 09:17:49 UTC
Is this still valid?