From bdb54bbf36c11c3a9a6727a993ddfc8d2814f90c Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 5 May 2020 18:21:37 +0200 Subject: [PATCH] Do not suggest deprecated ordering key (#65040) (#65185) Co-authored-by: Elastic Machine Co-authored-by: Elastic Machine --- .../console/server/lib/spec_definitions/js/aggregations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts index 1170c9edd2366..ce3155919bd1d 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts @@ -148,7 +148,7 @@ const rules = { shard_size: 10, order: { __template: { - _term: 'asc', + _key: 'asc', }, _term: { __one_of: ['asc', 'desc'] }, _count: { __one_of: ['asc', 'desc'] },