diff --git a/frontend/pages/Homepage/cards/MDM/MDM.tsx b/frontend/pages/Homepage/cards/MDM/MDM.tsx index 33888c9069..e814482a06 100644 --- a/frontend/pages/Homepage/cards/MDM/MDM.tsx +++ b/frontend/pages/Homepage/cards/MDM/MDM.tsx @@ -29,7 +29,8 @@ interface IMDMCardProps { const DEFAULT_SORT_DIRECTION = "desc"; const SOLUTIONS_DEFAULT_SORT_HEADER = "hosts_count"; -const ENROLLMENT_DEFAULT_SORT_HEADER = "hosts"; +const ENROLLMENT_DEFAULT_SORT_DIRECTION = "asc"; +const ENROLLMENT_DEFAULT_SORT_HEADER = "status"; const PAGE_SIZE = 8; const baseClass = "home-mdm"; @@ -171,7 +172,7 @@ const MDM = ({ data={formattedMDMData} isLoading={isMDMFetching} defaultSortHeader={ENROLLMENT_DEFAULT_SORT_HEADER} - defaultSortDirection={DEFAULT_SORT_DIRECTION} + defaultSortDirection={ENROLLMENT_DEFAULT_SORT_DIRECTION} hideActionButton resultsTitle={"MDM"} emptyComponent={EmptyMDMEnrollment}