https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40435 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190452|0 |1 is obsolete| | --- Comment #10 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 190523 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190523&action=edit Bug 40435: Module changes CanBookBeRenewed will by default pass the skip_future_holds flag to item->current_holds so that renewals are not blocked by future holds. The new pref FutureHoldsBlockRenewals allows you to change that historical behavior. Test plan: [1] Set pref ConfirmFutureHolds=3, FutureHoldsBlockRenewals=Allow, OPACAllowHoldDateInFuture=Allow [2] Checkout some item to patron A. [3] Place hold on same item for patron B, reserve date tomorrow. [4] Try to renew item with patron A on account page. Should be marked as Not renewable. [5] Set pref FutureHoldsBlockRenewals=Dont [6] Repeat step 4. Renew should be allowed. [7] prove t/db_dependent/Holds.t t/db_dependent/Reserves.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.