We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05872b commit febe147Copy full SHA for febe147
src/routes/v2/admin/groups/+page.server.js
@@ -1,3 +1,4 @@
1
+import { sortGroupByNameComparator } from '$lib/common/user_utilities';
2
import { listGroups } from '$lib/server/api/auth_api';
3
import { getLogger } from '$lib/server/logger.js';
4
@@ -8,6 +9,8 @@ export async function load({ fetch }) {
8
9
10
const groups = await listGroups(fetch, true);
11
12
+ groups.sort(sortGroupByNameComparator);
13
+
14
return {
15
groups
16
};
0 commit comments