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

[7.x] Migrate legacy sort arrays on saved searches (#43038) #43234

Merged
merged 3 commits into from
Aug 15, 2019

Commits on Aug 13, 2019

  1. Migrate legacy sort arrays on saved searches (elastic#43038)

    With my multi sort PR I changed the sort property on saved searches to contain a nested array. Discover and Dashboard were backwards compatible with the old format but it turns out the nested array caused issues for CSV export. Instead of trying to support single and two dimension arrays everywhere, this PR simply adds a migration for saved searches in 7.4 and updates our sample data sets so that we can always expect sort objects to be two dimensional arrays. I also cleaned up the backwards compatibility code in Discover and Dashboard.
    Bargs committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    79201f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Configuration menu
    Copy the full SHA
    fbe1493 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2dd6a71 View commit details
    Browse the repository at this point in the history