Possibly we should work towards removing this sub, but for now we should use get_effective_rules rather than calling get_effective rule three times
Created attachment 128574 [details] [review] Bug 29703: Use get_effective_rules in GetBranchItemRule To test: 1 - prove -v t/db_dependent/Circulation/Branch.t
Created attachment 130771 [details] [review] Bug 29703: Use get_effective_rules in GetBranchItemRule To test: 1 - prove -v t/db_dependent/Circulation/Branch.t Signed-off-by: Michal Denar <black23@gmail.com>
Created attachment 130812 [details] [review] Bug 29703: Use get_effective_rules in GetBranchItemRule To test: 1 - prove -v t/db_dependent/Circulation/Branch.t Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 22.05, thanks to everybody involved [U+1F984]