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

Sorting does not work in Document Explorer when using a legacy link #132892

Closed
romain-chanu opened this issue May 25, 2022 · 1 comment · Fixed by #134447
Closed

Sorting does not work in Document Explorer when using a legacy link #132892

romain-chanu opened this issue May 25, 2022 · 1 comment · Fixed by #134447
Assignees
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@romain-chanu
Copy link

Kibana version: 8.2.1

Elasticsearch version: 8.2.1

Server OS version: MacOS Monterey

Browser version: Chrome 101.0.4951.64

Browser OS version:

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

Describe the bug:

a) Discover URLs using the following query parameter syntax sort:!('@timestamp',desc) "breaks" the sorting in the Document Viewer.

b) Same syntax seems to be working fine with the classic view.

c) However, when using sort:!(!('@timestamp',desc)), the sorting works in both Document Viewer and classic view.

Steps to reproduce:

Open a Discover URL with sort:!('@timestamp',desc)and observe that the sorting does not work in the Document Viewer.

Expected behavior: sorting should work when using sort:!('@timestamp',desc).

Any additional context: Related to #41918

@romain-chanu romain-chanu added the bug Fixes for quality problems that affect the customer experience label May 25, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label May 25, 2022
@jsanz jsanz added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label May 26, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 26, 2022
@kertal kertal changed the title Sorting does not work in Document Viewer Sorting does not work in Document Explorer when using a legacy link May 31, 2022
@kertal kertal self-assigned this Jun 7, 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 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