[Koha-bugs] [Bug 13958] Add a suspensionsCalendar syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 27 17:20:56 CEST 2019


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 90119
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90119&action=edit
Bug 13958: Use SuspensionsCalendar syspref for more granularity

This patch makes the calculation of suspension expiration configuration
detached from the finesCalendar syspref. This way libraries have more
flexibility when setting circ rules.

I wrote this path as a bugfix, because the recent change pushed by bug 19204
changed this behavior and libraries have been complaining since they got
upgraded.

It is a minor change, just adding the new syspref, and replacing the
single place in which it is used for debarment calculation for the new
one.

The tests are updated similarly, just adding the new mocked syspref as
it was with the old one.

To test:
- Apply this patches
- updatedatabase
- Run:
  $ kshell
 k$ prove t/db_dependent/Circulation.t
=> SUCCESS: Tests pass!
- Sign off :-D

Sponsored-by: Universidad Nacional de Córdoba

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


More information about the Koha-bugs mailing list