We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f18d6f commit 8efb608Copy full SHA for 8efb608
src/graph/graph.groups.ts
@@ -92,7 +92,7 @@ export async function findGroups(
92
filterGroups.push('(mailEnabled eq true and securityEnabled eq false)');
93
}
94
95
- filterQuery += ' and ' + filterGroups.join(' or ');
+ filterQuery += (query !== '' ? ' and ' : '') + filterGroups.join(' or ');
96
97
98
const result = await graph
0 commit comments