mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Merge pull request #4232 from Ben0it-T/sort_organizations_teams_people
Sort Organizations, Teams and People
This commit is contained in:
commit
73408c73af
6 changed files with 16 additions and 14 deletions
|
|
@ -521,7 +521,7 @@ Users.helpers({
|
|||
},
|
||||
orgsUserBelongs() {
|
||||
if (this.orgs) {
|
||||
return this.orgs.map(function(org){return org.orgDisplayName}).join(',');
|
||||
return this.orgs.map(function(org){return org.orgDisplayName}).sort().join(',');
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
|
@ -533,7 +533,7 @@ Users.helpers({
|
|||
},
|
||||
teamsUserBelongs() {
|
||||
if (this.teams) {
|
||||
return this.teams.map(function(team){ return team.teamDisplayName}).join(',');
|
||||
return this.teams.map(function(team){ return team.teamDisplayName}).sort().join(',');
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue