Skip to content

Commit

Permalink
Fix anomaly score, entity, influence, and user id show top N
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed May 9, 2022
1 parent 125d9d0 commit 990e15f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export const EntityDraggableComponent: React.FC<Props> = ({
value: entityValue,
operator: IS_OPERATOR as QueryOperator,
},
isAggregatable: true,
fieldType: 'keyword',
}),
[entityName, entityValue, id]
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export const DraggableScoreComponent = ({
value: score.entityValue,
operator: IS_OPERATOR as QueryOperator,
},
isAggregatable: true,
fieldType: 'number',
}),
[id, score.entityName, score.entityValue]
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export const getUsersColumns = (flowTarget: FlowTarget, tableId: string): UsersC
rowItems: userIds,
attrName: 'user.id',
idPrefix: `${tableId}-table-${flowTarget}`,
isAggregatable: true,
fieldType: 'keyword',
}),
},
{
Expand Down

0 comments on commit 990e15f

Please sign in to comment.