Sorting does not work in Document Explorer when using a legacy link #132892
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.
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
The text was updated successfully, but these errors were encountered: