Summary: | Fine grace period in circulation conditions is misnamed | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Circulation | Assignee: | Katrin Fischer <katrin.fischer> |
Status: | CLOSED FIXED | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | minor | ||
Priority: | P5 - low | CC: | christian.stelzenmueller, gmcharlt, kyle.m.hall, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | String patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00,22.11.02
|
|
Circulation function: | |||
Attachments: |
Bug 31233: Amend 'fine grace period' as it's also used for suspensions
Bug 31233: Amend 'fine grace period' as it's also used for suspensions Bug 31233: Amend 'fine grace period' as it's also used for suspensions |
Description
Katrin Fischer
2022-07-25 08:59:28 UTC
After some debugging I realized that the grace period is also substracted from the overdue days before the restriction is calculated: if ( $deltadays->subtract($grace)->is_positive() ) { So we should really kill the "Fine" from "Fine grace period". Created attachment 144095 [details] [review] Bug 31233: Amend 'fine grace period' as it's also used for suspensions The grace period setting in circulation rules is not only used for fines, but also for suspensions. So the label 'Fine grace period' is a little misleading. This patch updates it to "Fine/suspension grace period". To test: * Go to Administration > Circulation rules * Verify the description is "Fine grace period" in the big table * Apply patch * Verify the description now changed to "Fine/suspension grace period" https://bugs.koha-community.org/show_bug.cgi?id=32261 Created attachment 144114 [details] [review] Bug 31233: Amend 'fine grace period' as it's also used for suspensions The grace period setting in circulation rules is not only used for fines, but also for suspensions. So the label 'Fine grace period' is a little misleading. This patch updates it to "Fine/suspension grace period". To test: * Go to Administration > Circulation rules * Verify the description is "Fine grace period" in the big table * Apply patch * Verify the description now changed to "Fine/suspension grace period" https://bugs.koha-community.org/show_bug.cgi?id=32261 Signed-off-by: Hammat Wele <hammat.wele@inlibro.com> Thank you, Hammat! Created attachment 144698 [details] [review] Bug 31233: Amend 'fine grace period' as it's also used for suspensions The grace period setting in circulation rules is not only used for fines, but also for suspensions. So the label 'Fine grace period' is a little misleading. This patch updates it to "Fine/suspension grace period". To test: * Go to Administration > Circulation rules * Verify the description is "Fine grace period" in the big table * Apply patch * Verify the description now changed to "Fine/suspension grace period" https://bugs.koha-community.org/show_bug.cgi?id=32261 Signed-off-by: Hammat Wele <hammat.wele@inlibro.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master for 23.05. Nice work everyone, thanks! Nice work, thanks everyone! Pushed to 22.11.x for the next release. |