Skip to content

Commit

Permalink
[aggTypes/fieldParam] move orderby back into condition
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Oct 25, 2016
1 parent fbf884a commit 0018786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/agg_types/param_types/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 0018786

Please sign in to comment.