Bug 38124

Summary: Don't show patron lists tab if there are no patron lists
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: mspinney
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 32730    
Bug Blocks:    

Description Caroline Cyr La Rose 2024-10-08 16:39:50 UTC
Bug 32730 added a new 'Patron lists' tab in the patron record. This tab is useless if there are no patron lists. Plus, it's completely empty, so it looks like a bug. We should not show this tab if there are no patron lists in the system.

To get there:
1. Make sure there are no patron lists in the system (Tools > Patron lists)
2. Go to a patron record
   --> At the bottom of the page, there is a 'Patron lists' tab
3. Click the 'Patron lists' tab
   --> There is nothing