Bug 32696 - Recalls can inadvertently extend the due date
Summary: Recalls can inadvertently extend the due date
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: 22.05
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-20 23:08 UTC by Eric Phetteplace
Modified: 2023-01-24 14:13 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Phetteplace 2023-01-20 23:08:28 UTC
If an item is due sooner than the recall due date interval then placing a recall on it can inadvertently extend the book's due date, possibly causing the recalling patron to receive the item later than they would otherwise.

To recreate the issue:

- turn on recalls with UseRecalls and scaffold out the minimal circulation rules needed to use the feature
- set the recall due date interval to 7 days or any other arbitrary period
- check out an item to one patron & set the due date to be before the recall due date interval will have elapsed (e.g. the next day)
- as a second patron, place a recall on the item in question

Actual behavior: the item's due date is extended to the current date plus the recalls due date interval.

Desired behavior: the item's due date should stay the same so the recalling patron doesn't face an additional delay in obtaining it. The logic is that the new due date should be either the existing due date or the current date plus the recall due date interval, whichever is sooner.
Comment 1 Kelly McElligott 2023-01-24 14:13:48 UTC
I am changing this from an enhancement bug to a minor bug, as this is an issue with the due dates of recalls.