[TSVB] Table sorting broken #51888
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:TSVB
TSVB (Time Series Visual Builder)
regression
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: master
Elasticsearch version:
Server OS version:
Browser version: Chrome
Browser OS version: Mac OS
Original install method (e.g. download page, yum, from source, etc.): localhost
Describe the bug:
When trying to sort on one of the aggregated fields in a TSVB table, sorting is broken.
Steps to reproduce:
Open TSVB > Table
Select
kibana_sample_data_logs
as index patternCreate the following table:

Click on
bytes
-> the results are not sortedExpected behavior:
Bytes are sorted ascending and then with another click, descending.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
I believe this is a regression introduced recently. I tested on 7.1.1. and it works as expected.
Tracing the code a bit, it seems that the
uiState
does not register new change and always returns_default_
as column:kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/vis.js
Line 143 in 3a915b2
Possibly related: #51887
The text was updated successfully, but these errors were encountered: