Bug 22939 - Hard due date should block renewals when it wouldn't extend the due date
Summary: Hard due date should block renewals when it wouldn't extend the due date
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement with 10 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-17 19:07 UTC by Lisette Scheer
Modified: 2020-08-28 15:18 UTC (History)
4 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 Lisette Scheer 2019-05-17 19:07:29 UTC
It seems like it would make sense for renewals to be blocked if there is a hard due date set equal to or before the time the renewal would normally allow it would block renewing. 
aka:
School branch (branch a) is closing for the summer. 

They set their hard due date to be 5/17/19. Their checkout period is 14 days, they allow 1 renewal, and the renewal is 14 days. 

Patron at branch b (not closing for the summer) gets a book from branch a on hold and checks it out 5/3/19. Due date is 5/17/19 and it says they have 1 renewal on the item. There is no warning about a hard due date and it looks like they should be able to renew it. 

On 5/16/19 they come in and want to renew the item, as their account says there is a renewal available. When the item is renewed it only gains 1 day. 
The patron has no indication why it is renewing differently than before. 

If the renewal was blocked (box grayed out or changed to zero) staff could preserve the previous renewal information without as much confusion for patrons. 
Lisette
Comment 1 Chris Slone 2020-08-28 15:18:03 UTC
Agreed that this causes a problem. We have just run into this with a patron. They renewed an item with an already passed hard due date via the OPAC. Koha didn't change the due date, but still assessed them a fine (and then reassessed a fine when the item was returned).

To replicate:

1.) Set a circulation and fine rule up for an item type to have a hard due date.
2.) Check out the item with the due date manually set to, or just before, the hard due date.
3.) Renew the item (staff or OPAC), the due date will not be extended past the hard due date, though no warning before is given (or special indication after).