Skip to content

Commit

Permalink
[SecuritySolution] Fix EntitiesList 'name' column sorting (elastic#19…
Browse files Browse the repository at this point in the history
  • Loading branch information
machadoum authored Oct 23, 2024
1 parent 0bafb96 commit 72db703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('EntitiesList', () => {
fireEvent.click(columnHeader);
expect(mockUseEntitiesListQuery).toHaveBeenCalledWith(
expect.objectContaining({
sortField: 'entity.displayName.keyword',
sortField: 'entity.name.text',
sortOrder: 'asc',
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const useEntitiesListColumns = (): EntitiesListColumns => {
width: '5%',
},
{
field: 'entity.displayName.keyword',
field: 'entity.name.text',
name: (
<FormattedMessage
id="xpack.securitySolution.entityAnalytics.entityStore.entitiesList.nameColumn.title"
Expand Down

0 comments on commit 72db703

Please sign in to comment.