[Lens] Bugs in table rendering caused by toExpression function #74900
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
The table configuration should always be matched in the table expression, which is not happening for in several cases.
Steps to reproduce:
Records
field and you should get a suggestion with 2 columns"Drop a field here"
The fix for this issue should be to use the same logic in both
getConfiguration
andtoExpression
, which is to sort the table columns by the datasource order using this snippet fromgetConfiguration
.This small change should fix the bug and guarantee consistent order.
The text was updated successfully, but these errors were encountered: