Bug 39571 - Abstract table filters to the column render method
Summary: Abstract table filters to the column render method
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Matt Blenkinsop
QA Contact: Testopia
URL:
Keywords:
Depends on: 38201
Blocks:
  Show dependency treegraph
 
Reported: 2025-04-07 09:36 UTC by Matt Blenkinsop
Modified: 2025-04-07 09:37 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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