Skip to content

TSVB Sorting by column not working in dashboards #49626

@IgnisIngenii

Description

@IgnisIngenii

Kibana version: 7.4.1

Elasticsearch version: 7.4.1

Server OS version: 7.6

Browser version: Chrome

Browser OS version: MacOS Mojave 10.14.5

Original install method (e.g. download page, yum, from source, etc.): download page

Describe the bug: When sorting a TSVB Table within a dashboard by one of its sortable columns, the visualisation returns a message stating 'No data to display for the selected metrics'. You'll now need to refresh the page in order to 'get your data back'. The sorting however works fine within the visualisation's editing-page.

Steps to reproduce:

  1. Create a TSVB Table and save it to a dashboard. In this case, the two aggregations used are a sum and a filter ratio. The filter ratio returns a percentage, which is not sortable.
  2. Try sorting one of the columns that is/should be sortable.
  3. The visualisation returns the 'No data to display for the selected metrics'-message.

Expected behavior: The sort-functionality should work within a dashboard, as it works fine within the editing-page.

Screenshots (if relevant):
Screenshot 2019-10-29 at 13 13 41
1. The table within a dashboard. The highlighted column should be sortable.

Screenshot 2019-10-29 at 13 13 59
2. Once the sorting action is performed, this message is returned.

Screenshot 2019-10-29 at 13 14 33
3. Within the editing-page, the sorting works just fine.

Cheers.

Metadata

Metadata

Assignees

Labels

Feature:TSVBTSVB (Time Series Visual Builder)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experiencetriage_needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions