Bug 39571

Summary: Abstract table filters to the column render method
Product: Koha Reporter: Matt Blenkinsop <matt.blenkinsop>
Component: Architecture, internals, and plumbingAssignee: Matt Blenkinsop <matt.blenkinsop>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, pedro.amorim
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: 38201    
Bug Blocks:    

Description Matt Blenkinsop 2025-04-07 09:36:32 UTC
In Vue components we currently render datatable columns from a method, whilst the filters for those columns are rendered directly in the tableSettings object. We have had instances where new columns have been added to the method but the index numbers in the filters haven't been updated. This leads the filters to being out of sync and breaking

We should use the abstraction in bug 38201 to move this directly into the tableColumns method and prevent these issues at the framework level