RED-4587: Search screen assignee filter - only display active users

This commit is contained in:
Adina Țeudan 2022-07-12 16:55:16 +03:00
parent 69202dce69
commit c14635437b
2 changed files with 5 additions and 2 deletions

View File

@ -202,7 +202,10 @@ export class SearchScreenComponent extends ListingComponent<ISearchListItem> imp
slug: 'assignee',
label: this._translateService.instant('search-screen.filters.assignee'),
icon: 'red:user',
filters: this._userService.all.map(user => user.id).map(assigneeToFilter),
filters: this._userService.all
.filter(user => user.isUser)
.map(user => user.id)
.map(assigneeToFilter),
singleSelect: true,
checker: keyChecker('assignee'),
};

@ -1 +1 @@
Subproject commit ddab92076aba0ff2cf297f4d330c3a140f366153
Subproject commit 7aff7aebcf825c621c1d83126673d4818d5326e1