Bug 41254

Summary: The filter for item status in item tables should be improved
Product: Koha Reporter: Mathieu Saby <mathsabypro>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: fridolin.somers, gmcharlt, mspinney
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Mathieu Saby 2025-11-16 18:40:20 UTC
In the table of items under a record, the filter on status created by Bug 37334 does not meet all the needs of a library because it groups together many different scenarios (in processing, on order, etc.) under a single status, "Not for loan."

It is not possible to use this filter to isolate items on order, which is a frequent use case.

I don't know what would be the best way to improve this filter. Perhaps we could add the different specific statuses provided for each value of notforloan<>0, prefixing them with "Not for loan" so that they appear close together
- Excluded from loan (being processed)
- Excluded from loan (on order)
- Excluded from loan (non loanable itemtype)
etc.
And keep the global "Not for loan" renamed as "Not for loan (all reasons)".
Comment 1 Fridolin Somers 2025-11-19 13:55:22 UTC
Or create a new column for "not for loan" ?
Comment 2 Mathieu Saby 2025-11-20 15:56:31 UTC
Not sure...
The table is already very wide (and Koha handles this poorly in terms of UX, with screen overflow), and we've just added a new column for locations.