mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(elasticsearch): changed default sort to asc
This commit is contained in:
parent
0960360b35
commit
f90714f8fe
@ -40,7 +40,7 @@ function (angular, _, queryDef) {
|
||||
$scope.settingsLinkText = "";
|
||||
|
||||
if ($scope.agg.type === "terms") {
|
||||
$scope.agg.order = $scope.agg.order || "desc";
|
||||
$scope.agg.order = $scope.agg.order || "asc";
|
||||
$scope.agg.size = $scope.agg.size || "0";
|
||||
$scope.agg.orderBy = $scope.agg.orderBy || "_term";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user