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

--- Comment #1 from Michael Mundet <[email protected]> ---
Created attachment 212279
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212279&action=edit
Bug 43205: Show hold dates in the hold found window

Test plan:
1. Set ReservesMaxPickUpDelay to 7, ExcludeHolidaysFromMaxPickUpDelay to "Don't
exclude", and HoldsAutoFill to "Don't".
2. Check an item out to a patron.
3. Place a hold on that title for another patron. Set the pickup library to the
library you will check the item in at. Leave "Hold expires on date" empty.
4. Check the item in. In "Hold found", the window shows "Will be on hold
until:" followed by the date 7 days from today. It does not show "Expiration
date" or "Hold expires on date". Click "Ignore (I)". The hold is not waiting.
5. Cancel that hold. Place it again with "Hold expires on date" set to 3 days
from today. Check the item out if needed, then check it in. The window shows
only "Will be on hold until:" with that date, 3 days from today. Click "Ignore
(I)".
6. Cancel that hold. Place it again with "Hold expires on date" set to a date
next year. Check the item in. The window shows "Will be on hold until:" 7 days
from today, and "Expiration date:" with the date entered for next year. Click
"Confirm hold (Y)".
7. On the patron's Holds tab, the hold is waiting and its expiration date is
the date shown as "Will be on hold until".
8. Check the item out, then check it in at the pickup library. The window title
is "Hold found (item is already waiting)". It shows "On hold until:" with the
waiting expiration date, and "Hold expires on date:" with the date entered for
next year.

The request is to show the expiration date in the hold found window. This patch
also shows the end of the waiting period, and the date entered when the hold
was placed, when that day is a different one. Before confirmation, "Will be on
hold until" is the date set_waiting will store. It is calculated by that same
code and is not read from the database. Once the hold is waiting, "On hold
until" is the stored expiration date. "Hold expires on date" is the date
entered at placement, shown only when that day differs.

Assisted-by: Grok 4.7 (SpaceXAI)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to