https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25115 Bug ID: 25115 Summary: Use get_effective_rule for getting rental discount Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Fines and fees Assignee: koha-bugs@lists.koha-community.org Reporter: lari.taskula@hypernova.fi QA Contact: testopia@bugs.koha-community.org We have this logic for searching rentaldiscount rule https://github.com/Koha-Community/Koha/blob/6ac037f817def256c85706413036bee3... Why? This is against documentation on sorting order of circulation rules in the user interface. Use Koha::CirculationRules->get_effective_rule() instead. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.