Shelf expire date doesn't respect closed dates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Shelf expire date has some closed-date handling code here:
https:/
However, it appears both from looking at the code and from testing that this code will only bump the expire date if the expire date falls on a closed date.
I would expect this to exclude all closed dates from the count.
For example, expire time = 3 days, I'm closed Saturday, Sunday. Item is captured on Friday. The expire date will become Monday. I would expect it to be wednesday, as Saturday and Sunday the library is closed so there's no reasonable opportunity to pick up the hold.
tags: | added: holds |
Changed in evergreen: | |
status: | New → Confirmed |
tags: |
added: circ-holds removed: holds |
I think this is a duplicate of a bug I filed 2 years ago. LP#1665395 "Wishlist: Default hold shelf expire interval count open days only".
Also somewhat related is LP#1665400 "Hold Targeter - Respect weekly schedule as well as closed holidays."
It seems like there could be some common code for handling open days that includes an org unit's weekly schedule along with closed days from the closed dates editor.