#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.

Change History (2)

comment:1 by Nicklas Nordborg, 16 months ago

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.

comment:2 by Nicklas Nordborg, 16 months ago

Resolution: fixed
Status: newclosed

In 8103:

Fixes #2292: The function for displaying hidden columns with a filter doesn't always work

I think it should work now. Since we only know the filter properties to begin with we need to swap properties with column ids when we learn if a filtered column is visible or not.

Note: See TracTickets for help on using tickets.