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

Timestamp sorting on Discover not working #59092

Closed
thekofimensah opened this issue Mar 2, 2020 · 3 comments
Closed

Timestamp sorting on Discover not working #59092

thekofimensah opened this issue Mar 2, 2020 · 3 comments
Labels
Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed

Comments

@thekofimensah
Copy link

thekofimensah commented Mar 2, 2020

Kibana version: 7.5.1
Describe the bug: For the @timestamp field, when I sort by asc or desc on discover tab, the first page that loads is correct, but after that the dates are quite out of order
First page, correct
Screen Shot 2020-03-02 at 1 55 31 PM

Second page:
Screen Shot 2020-03-02 at 1 55 44 PM

Video: This shows that the sort really isn't working on the first page as well, things are all out of order and changing the sort by seems to do nothing. The data range is from Feb 22 to feb 29
Screen Recording 2020-03-02 at 2 11 46 PM

@kertal kertal added Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 3, 2020
@elasticmachine
Copy link
Contributor

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

@thekofimensah
Copy link
Author

Ok, I think I figured out that there were multiple sorts going on at the same time which seemed to be part of the issue... but there wasn't an obvious way to see that was happening or even disable it if I wanted. Refresh didn't work, but pressing on the Discover tab a second time reset the parameters enabled, which cleared it. Maybe indicating to the user in some meaningful way that there are 2 sorts happening could be helpful.

@timroes
Copy link
Contributor

timroes commented Apr 7, 2020

I'll close this issue in favor of #61906 where we move over to a new component in discover, which will make that sort behavior way more explicit (also if columns are hidden from the table).

@timroes timroes closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed
Projects
None yet
Development

No branches or pull requests

4 participants