Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saved search sort order is ignored for embeddable config with 1-dimensional sort array #81559

Closed
Tracked by #114353
rudolf opened this issue Oct 23, 2020 · 3 comments · Fixed by #137488
Closed
Tracked by #114353
Assignees
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. regression Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@rudolf
Copy link
Contributor

rudolf commented Oct 23, 2020

Kibana version: 7.9.2

If a dashboard has a saved search panel, and the embeddableConfig for that panel has a 1-dimensional sort array, the sort order gets ignored. e.g.

{
    "embeddableConfig": {
        "columns": [
          "message",
        ],
        "sort": [
          "@timestamp",
          "desc"
        ]
    },
    ...
    "panelRefName": "panel_1"
    }
}

In v7.6.2 a 1-dimensional sort array was still applied to the saved search panel.

This seems related to #43038 because that migration never migrated embeddable configs.

@rudolf rudolf added bug Fixes for quality problems that affect the customer experience regression triage_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes added the Feature:Discover Discover Application label Nov 3, 2020
@kertal
Copy link
Member

kertal commented Nov 3, 2020

I think this was fixed in 7.10 #76986 ... but will double check for this use case

@kertal
Copy link
Member

kertal commented Nov 20, 2020

Confirmed that this is a bug, and yes it's related to #43038 because that migration never migrated embeddable configs.

@timroes timroes added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Jul 15, 2021
@timroes timroes added Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 31, 2021
@kertal kertal self-assigned this Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. regression Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants