This fixes some issues seen when switching the Table Filter between different columns, when column values are quite different from one another. Previously, the filter-value was not updated so we initially filter the values of one column using the old filter-value from the previous column, which often results in ALL images being filtered (can result in Parade being entirely reset).
Now, we reset the filter value to undefined when switching column, so that no images are filtered out until you start to drag the slider again.
To test:
switch between a bunch of columns of the Table filter, e.g. for idr0021 data, setting various filter values for each.
Each time you switch filter, all the images should be shown (none filtered) until you set a new value for that column.
This fixes some issues seen when switching the Table Filter between different columns, when column values are quite different from one another. Previously, the filter-value was not updated so we initially filter the values of one column using the old filter-value from the previous column, which often results in ALL images being filtered (can result in Parade being entirely reset).
Now, we reset the filter value to
undefined
when switching column, so that no images are filtered out until you start to drag the slider again.To test:
cc @pwalczysko @jburel @chris-allan