[Koha-bugs] [Bug 33992] Only consider the date when labelling a waiting recall as problematic

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 02:22:59 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152365|0                           |1
        is obsolete|                            |

--- Comment #8 from David Nind <david at davidnind.com> ---
Created attachment 152369
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152369&action=edit
Bug 33992: Only consider the date when auto-expiring problematic recalls

This patch carries this fix into the misc/cronjobs/recalls/expire_recalls.pl
cronjob so that recalls are automatically expired when they have been waiting a
problematic number of days, not considering hours, as expected.

To test, follow the test plan from the first patch. This will set you up with a
waiting problematic recall.

Run the cronjob manually

perl misc/cronjobs/recalls/expire_recalls.pl

Refresh your 'Recalls awaiting pickup' page. Your problematic recall should be
gone/expired.

Expiration dates will apply when expiring any 'unfulfilled' recall i.e. newly
requested, overdue to be returned, and awaiting pickup.

Sponsored-by: Auckland University of Technology
Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list