Bug 41468

Summary: Dont force show checkin column if user hid it previously
Product: Koha Reporter: Peter Vashchuk <stalkernoid>
Component: CirculationAssignee: Peter Vashchuk <stalkernoid>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle, slavashishkin
Version: unspecified   
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:
Bug Depends on: 41314    
Bug Blocks:    
Attachments: Bug 41468: Don't force show checkin column if user wants it hidden

Description Peter Vashchuk 2025-12-17 14:37:24 UTC

    
Comment 1 Peter Vashchuk 2025-12-17 14:51:30 UTC
Created attachment 190589 [details] [review]
Bug 41468: Don't force show checkin column if user wants it hidden

If user hides the "Check in" column in the borrower's "Checkouts" table
it should stay hidden for the user unless in settings cannot_be_toggled
is set to true for the checkin column.

Steps to reproduce:
1. Go to the borrower who have some checkouts, and open the checkout's table.
2. Check your admin/columns_settings, you can do that by using the top right Configure button.
Check that in issues-table, column checkin has "Cannot be toggled" toggled off.
3. Back at the borrower's page, using the Columns dropdown menu, hide "Check in" column.
4. Refresh the page. The column will be visible anyway.
5. Apply the patch.
6. Force refresh the page, and hide "Check in" column again.
7. Refresh the page. This time it should stay hidden.
8. Go back to admin/columns_settings and toggle on "Cannot be toggled" for checkin column.
9. Refresh borrower's page again, see that "Check in" column is visible again.