[Koha-bugs] [Bug 12230] Set a maximum suspension days as a new issuing rule

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 12 12:39:12 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12230

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28169
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28169&action=edit
Bug 12230: Set a maximum suspension days as a new issuing rule

This patch adds a new issuing rule: maxsuspensiondays.

A new column "Max. suspension duration (day)" appears in the main table
of the issuing rules.

If this value is filled, on returning an item, a patron won't be
suspended longer than this cap.

Test plan:
1/ Set "suspension in days" to 2.
2/ Check an item out to a patron and specify a due date to today - 10
days.
3/ Check the item in and verify the patron is suspended until today + 10
* 2 days.
4/ Remove the suspension.
5/ Set "Max. suspension duration" to 10.
6/ Check an item out to a patron and specify a due date to today - 10
days.
7/ Check the item in and verify the patron is suspended until today + 10
days.

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


More information about the Koha-bugs mailing list