Web: Client: Fix sorting

This commit is contained in:
Aleksandr Lushkin 2024-02-15 15:31:01 +01:00
parent 8cb5530457
commit ac23cd1cf6
2 changed files with 5 additions and 1 deletions

View File

@ -74,8 +74,10 @@ export const CategoryType = Object.freeze({
export const TableVersions = Object.freeze({ export const TableVersions = Object.freeze({
Rooms: "2", Rooms: "2",
Files: "2", Files: "2",
Accounts: "3", People: "3",
Trash: "4", Trash: "4",
Groups: "5",
InsideGroup: "6",
}); });
/** /**

View File

@ -28,6 +28,8 @@ class GroupsTableHeader extends React.Component {
key: "Head of Group", key: "Head of Group",
title: props.t("Head of Group"), title: props.t("Head of Group"),
enable: true, enable: true,
sortBy: "manager",
onClick: this.onFilter,
resizable: true, resizable: true,
onChange: this.onColumnChange, onChange: this.onColumnChange,
}, },