Bug fix for #3864 searching archived cards and add new operators for organizations and teams

This commit is contained in:
John Supplee 2021-12-22 00:33:13 +02:00
parent 6ef612d04e
commit aa0dee1fba
8 changed files with 89 additions and 6 deletions

View file

@ -521,12 +521,14 @@ Users.helpers({
},
teamIds() {
if (this.teams) {
// TODO: Should the Team collection be queried to determine if the team isActive?
return this.teams.map(team => { return team.teamId });
}
return [];
},
orgIds() {
if (this.orgs) {
// TODO: Should the Org collection be queried to determine if the organization isActive?
return this.orgs.map(org => { return org.orgId });
}
return [];