https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41439

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 190455
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190455&action=edit
Bug 41439: Add column visibility toggles to circulation rules table

The circulation rules table has become excessively wide with 40+
columns, making it difficult to navigate and use. This patch adds
column visibility toggle buttons that allow users to focus on
specific rule categories.

Changes:
- Add toggle buttons for: Checkouts, Due dates, Fines, Renewals,
  Holds, Article requests, Recalls, and Show all
- Group columns into logical categories based on their function
- Default to showing only Checkout columns on page load for a
  cleaner initial view
- Highlight the active button to indicate current view
- Disable search functionality (not appropriate for this table)
- Calculate column indices dynamically based on enabled system
  preferences (UnseenRenewals, ArticleRequests, UseRecalls)

Test plan:
1. Navigate to Administration > Circulation and fine rules
2. Observe the table now shows only checkout-related columns by
   default with the "Checkouts" button highlighted
3. Click different category buttons (Fines, Renewals, Holds, etc.)
   and verify only relevant columns are shown
4. Verify the active button is highlighted in blue
5. Click "Show all" to display all columns
6. Verify the layout works with different system preference
   combinations (enable/disable ArticleRequests, UseRecalls,
   UnseenRenewals)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to