Admin Panel - sort Organizations and Teams by Display Name, sort People by username

This commit is contained in:
Ben0it-T 2021-12-12 17:55:49 +01:00
parent 9b22e6da7a
commit 3a83d48bef
3 changed files with 5 additions and 2 deletions

View file

@ -217,7 +217,7 @@ if (Meteor.isServer) {
// Index for Organization name.
Meteor.startup(() => {
// Org._collection._ensureIndex({ name: -1 });
Org._collection._ensureIndex({ orgDisplayName: -1 });
Org._collection._ensureIndex({ orgDisplayName: 1 });
});
}