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

@ -214,7 +214,7 @@ if (Meteor.isServer) {
if (Meteor.isServer) {
// Index for Team name.
Meteor.startup(() => {
Team._collection._ensureIndex({ teamDisplayName: -1 });
Team._collection._ensureIndex({ teamDisplayName: 1 });
});
}