Opensearch Dashboards 3.5 broken data table filter?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.5

Describe the issue: When we have a sorted data table in dashboards 3.5. If we click the (+) filter button. Remove the filter and then click (+) for another filter, incorrect filter is applied. This issue was not seen on 3.3 but is reproducible every time in 3.5 making it unusable :(.

Has anyone else upgraded to 3.5? Do you see similar/same issues?

Configuration:

Relevant Logs or Screenshots:

@coredump17 Have you tested with a clean test deployment?
Which browser did you use?

tested on two platforms. Downgraded dashboards to 3.3 and issue has gone away on the same clusters. reproduced with Edge and Chrome.

This issue can also be seen in the nightly playground - [Logs] Chart and Visualization demo. Scroll down to Tables and select the + on the APM value.

@coredump17 I’ve reproduce that issue and found that only 3.5.0 is affected.
It looks like sorting doesn’t work well. Visualisation has some default sorting order and it resets to that after removing the filter.

I see the same as mentioned in your GitHub issue.

and issue you’ve referenced there.

This is my example.

  1. Order by Count

  2. Picking first value /beats/filebeat and getting incorrect filtering value.

  3. After removing the filter, the order of the table should remain but it resets to some default one. As per the screenshot the first value is the one picked in step 2.

  4. Reseting and picking again first position without touching any sorting works correctly

1 Like