Commit f90714f8 by Torkel Ödegaard

feat(elasticsearch): changed default sort to asc

parent 0960360b
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment