Opened 22 months ago
Closed 22 months ago
#2292 closed defect (fixed)
The function for displaying hidden columns with a filter doesn't always work
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | minor | Milestone: | BASE 3.19.6 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
When a column with a filter is removed from a table the filter is still active. A warning icon is displayed next to the 'presets' list that also has the functionality to display all hidden column with a filter. This seems to fail for some columns (but not all).
After testing it it looks like it fails for all annotation columns, but that it works for regular columns.
Note:
See TracTickets
for help on using tickets.
I think the issue is caused by changes made in #2282 [8066]. It seems like the list of hidden columns with a filter now contains the filter property instead of the column id. The code for displaying the hidden columns assume that the list is column id values. For most column the two values are the same, but for annotation we use the prefix 'at' for the id and '#' for the filter property.