Bug 40586

Summary: opac-user, holds-table.inc: Include on order status when item.notforloan < 0
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Hold requestsAssignee: Marcel de Rooy <m.de.rooy>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, lisette, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40586: Show negative notforloan status in holds table on opac-user
Bug 40586: Show negative notforloan status in holds table on opac-user

Description Marcel de Rooy 2025-08-04 12:07:29 UTC
An item level hold on an item that has a negative notforloan status (on order or another custom negative notforloan status probably related to acquisition and related processing) is just marked "Pending" on the opac-user page. Would be more clear to include "On order" or a description from authorised values.
Comment 1 Marcel de Rooy 2025-08-04 12:40:19 UTC Comment hidden (obsolete)
Comment 2 Marcel de Rooy 2025-08-04 12:53:19 UTC
Created attachment 185098 [details] [review]
Bug 40586: Show negative notforloan status in holds table on opac-user

If an item is on order, it may take a while before becoming available.
Showing that too on the opac-user page is helpful for the user and
may reduce questions.

Test plan:
Pick an item and set notforloan to On order (-1) or another custom
negative notforloan status.
Put an item level hold on that item.
Go to the OPAC user page of that patron. Verify that the AV description
is added now to the status column of the holds table.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>