[Bug 31233] New: Grace period is used for determining when a suspension will be placed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Bug ID: 31233 Summary: Grace period is used for determining when a suspension will be placed Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com The grace period is labelled "Fine grace period" in the circulation rules, but will also be used when working with suspension days. If the chargeable units (days overdue with or without closing days) is smaller than the grace period, the suspension will not be placed. So we should change the description in circulation rules probably. sub _calculate_new_debar_dt { [...] if ( $deltadays->subtract($grace)->is_positive() ) { ... place suspension restriction -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Grace period is used for |Fine grace period in |determining when a |circulation conditions is |suspension will be placed |misnamed --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.stelzenmueller@bs | |z-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |katrin.fischer@bsz-bw.de |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |String patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 144095 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144095&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #144095|0 |1 is obsolete| | --- Comment #3 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 144114 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144114&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thank you, Hammat! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #144114|0 |1 is obsolete| | --- Comment #5 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 144698 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144698&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |23.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 23.05. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 Jacob O'Mara <jacob.omara@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable Version(s)|23.05.00 |23.05.00,22.11.02 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31233 --- Comment #7 from Jacob O'Mara <jacob.omara@ptfs-europe.com> --- Nice work, thanks everyone! Pushed to 22.11.x for the next release. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org