mirror of
https://github.com/wekan/wekan.git
synced 2026-03-13 17:06:13 +01:00
People view - sort Organizations and Teams cols
This commit is contained in:
parent
eb9d44f5f0
commit
8e6bd81abe
1 changed files with 2 additions and 2 deletions
|
|
@ -521,7 +521,7 @@ Users.helpers({
|
||||||
},
|
},
|
||||||
orgsUserBelongs() {
|
orgsUserBelongs() {
|
||||||
if (this.orgs) {
|
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 '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|
@ -533,7 +533,7 @@ Users.helpers({
|
||||||
},
|
},
|
||||||
teamsUserBelongs() {
|
teamsUserBelongs() {
|
||||||
if (this.teams) {
|
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 '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue