[Discover] Column sort URL parameters are broken in 7.8+ #76705
Labels
Feature:Discover
Discover Application
Feature:SharingURLs
Short URLs and Share URL features
regression
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Summary
In
6.8
(and possibly later) columns in Discover were sorted based on this URL parameter:sort:!('@timestamp',desc))
Strangely, in
7.8
and later you need to wrap the sort again to get it to work as expected:sort:!(!('@timestamp',desc)))
In particular this is an issue for folks who have created short URLs to Discover in
6.8
and updated to7.8
-- suddenly their sorts are broken.To Reproduce
test*
, Time field set to@timestamp
.sort:!('@timestamp',desc))
sort
in the URL tosort:!(!('@timestamp',desc)))
. Now everything works as it originally did in6.8
.This issue is also present on
7.9
Workarounds
sort
as described in 11 above._update_by_query
on the.kibana
index which is risky and has potential to break all URLs if not done carefully:The text was updated successfully, but these errors were encountered: