Bug 41363

Summary: Don't hide patron category limitation warning behind icon
Product: Koha Reporter: Owen Leonard <oleonard>
Component: PatronsAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, kyle
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 31422    
Bug Blocks:    
Attachments: Screenshot showing the tooltip
Bug 41363: Don't hide patron category limitation warning behind icon

Description Owen Leonard 2025-12-03 13:45:53 UTC
Created attachment 190115 [details]
Screenshot showing the tooltip

A small warning icon appears in the patron edit form under these circumstances:

1. In Administration -> Patron categories, limit
   a patron category to a single library.
2. Switch to that library and locate a patron in
   that category. Copy the card number.
3. Switch to different library and search for the
   patron by card number.
4. Edit the patron.
5. Scroll down to the "Library management" section.
   You should see a warning icon next to the
   category. Hovering your mouse over the icon
   should trigger a tooltip with some text. See
   attached screenshot.

We should use a standard "hint" to display this information so that the user doesn't have to interact with a small target to trigger a tooltip.
Comment 1 Owen Leonard 2025-12-03 14:09:55 UTC
Created attachment 190117 [details] [review]
Bug 41363: Don't hide patron category limitation warning behind icon

This patch takes the warning text hidden behind an icon and puts
it into a "hint" <div> in order to make the information more accessible.

To test, apply the patch and go to Administration -> Patron categories.

- Edit a patron category to lmit it to a single library.
- Switch to that library and locate a patron in that category. Copy the
  card number.
- Switch to different library and search for the patron by card number.
- Edit the patron.
- Scroll down to the "Library management" section. Under the category
  dropdown you should see a "hint" style div with the library limitation
  warning.

Sponsored-by: Athens County Public Libraries