diff --git a/products/ASC.People/Client/src/components/pages/Home/Section/Filter/index.js b/products/ASC.People/Client/src/components/pages/Home/Section/Filter/index.js index c41b33ed4b..185f381c69 100644 --- a/products/ASC.People/Client/src/components/pages/Home/Section/Filter/index.js +++ b/products/ASC.People/Client/src/components/pages/Home/Section/Filter/index.js @@ -115,7 +115,7 @@ const SectionFilterContent = ({ fetchPeople, filter, onLoading }) => { const newFilter = filter.clone(); newFilter.page = 0; - newFilter.sortBy = data.sortId === "name" ? "firstname" : "lastname"; + newFilter.sortBy = data.sortId; newFilter.sortOrder = data.sortDirection === "desc" ? "descending" : "ascending"; newFilter.employeeStatus = getEmployeeStatus(data.filterValue);