mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
defaultSort should be false when no sort is necessary (#3693)
This commit is contained in:
committed by
Grace Guo
parent
e121a8585e
commit
fa07b8d51b
@@ -44,7 +44,7 @@ function viz(slice, payload) {
|
||||
});
|
||||
|
||||
let metrics;
|
||||
let defaultSort = null;
|
||||
let defaultSort = false;
|
||||
if (payload.data.is_group_by) {
|
||||
metrics = payload.data.columns;
|
||||
defaultSort = { column: fd.column_collection[0].key, direction: 'desc' };
|
||||
|
||||
Reference in New Issue
Block a user