Bug 40360

Summary: Patron table column selections in config overridden following patron search
Product: Koha Reporter: Nial Halford-Busby <n.halford-busby>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle
Version: 24.11   
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:

Description Nial Halford-Busby 2025-07-14 08:18:10 UTC
The column preferences for the patrons table (as configured in Table Settings) are not applied when the user account is selected from a list of potential matches following a patron search. Instead, all columns are visible and ticked in the 'Columns' view.

By contrast, when a patron search yields a unique match (for instance, when searching by borrower number or by a unique surname), or when the user is selected from the dropdown (rather than actually running a search), the columns displayed match those set in the Table Settings. It seems to be when the search goes via https://koha-staff.lboro.ac.uk/cgi-bin/koha/members/member.pl?quicksearch=1&circsearch=1&searchmember=[search term] that the default table settings are overwritten.

Once this situation has arisen, the recent enhancement (33484 - "ability to remember user's selected table configuration and search filters for tables") kicks in, so that all subsequent searches in the browser session result in all columns being displayed (unless the user changes the selected columns manually).