From: Stephen Smith Date: Thu, 4 Nov 2021 14:17:05 +0000 (-0400) Subject: 18123: Filter groups list to type role instead of excluding all other types. X-Git-Tag: 2.4.0~22^2~29 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/b565525602ad5203d313abe6b898f1885e344abc 18123: Filter groups list to type role instead of excluding all other types. Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/src/store/groups-panel/groups-panel-middleware-service.ts b/src/store/groups-panel/groups-panel-middleware-service.ts index c157e9ab..28415506 100644 --- a/src/store/groups-panel/groups-panel-middleware-service.ts +++ b/src/store/groups-panel/groups-panel-middleware-service.ts @@ -36,7 +36,7 @@ export class GroupsPanelMiddlewareService extends DataExplorerMiddlewareService order.addOrder(direction, 'name'); } const filters = new FilterBuilder() - .addNotIn('group_class', [GroupClass.PROJECT, GroupClass.FILTER]) + .addEqual('group_class', GroupClass.ROLE) .addILike('name', dataExplorer.searchValue) .getFilters(); const response = await this.services.groupsService