Client: Add sort by people
This commit is contained in:
parent
58c1194990
commit
f3a749b6dd
@ -53,7 +53,6 @@ class GroupsTableHeader extends React.Component {
|
||||
key: "People",
|
||||
title: props.t("Common:People"),
|
||||
enable: props.peopleAccountsGroupsColumnIsEnabled,
|
||||
default: true,
|
||||
sortBy: "membersCount",
|
||||
onClick: this.onFilter,
|
||||
resizable: true,
|
||||
|
@ -2021,6 +2021,13 @@ const SectionFilterContent = ({
|
||||
default: true,
|
||||
};
|
||||
|
||||
const people = {
|
||||
id: "sort-by_people",
|
||||
key: "membersCount",
|
||||
label: t("Common:People"),
|
||||
default: true,
|
||||
};
|
||||
|
||||
const manager = {
|
||||
id: "sort-by_manager",
|
||||
key: "manager",
|
||||
@ -2028,7 +2035,7 @@ const SectionFilterContent = ({
|
||||
default: true,
|
||||
};
|
||||
|
||||
groupsOptions.push(title, manager);
|
||||
groupsOptions.push(title, people, manager);
|
||||
|
||||
return groupsOptions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user