mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[aggTypes/fieldParam] move orderby back into condition
This commit is contained in:
parent
fbf884a01a
commit
001878663d
1 changed files with 1 additions and 1 deletions
|
@ -44,9 +44,9 @@ export default function FieldAggParamFactory(Private, $filter) {
|
|||
|
||||
if (this.filterFieldTypes) {
|
||||
fields = $filter('fieldType')(fields, this.filterFieldTypes);
|
||||
fields = $filter('orderBy')(fields, ['type', 'name']);
|
||||
}
|
||||
|
||||
fields = $filter('orderBy')(fields, ['type', 'name']);
|
||||
|
||||
return new IndexedArray({
|
||||
index: ['name'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue