[Koha-bugs] [Bug 25711] Move ExpireReservesMaxPickUpDelayCharge to the circulation rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 9 19:07:42 CEST 2022


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

--- Comment #74 from Andrew Nugged <nugged at gmail.com> ---
Created attachment 140382
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140382&action=edit
Bug 25711: move get_effective_expire_charge to Koha::CirculationRules

Move get_effective_expire_reserves_charge as a new method
in Koha::CirculationRules to retrieve the effective value of the rule,
which means it will get the value from existing circulation rule and
if it doesn't exist or set to undefined it will get the default
value from the preferences.

Also added tests for this logic.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list