fix(basic.gblib): ALLOW ROLE return people.

This commit is contained in:
Rodrigo Rodriguez 2024-02-25 20:58:36 -03:00
parent 81ec80b516
commit 0e7775cef6

View file

@ -1249,14 +1249,8 @@ export class SystemKeywords {
switch (filter.operator) { switch (filter.operator) {
case '=': case '=':
if (wholeWord) { if (v1 === v2) {
if (v1 === v2) { filterAcceptCount++;
filterAcceptCount++;
}
} else {
if (v2.indexOf(v1) > -1) {
filterAcceptCount++;
}
} }
break; break;
case '<>': case '<>':
@ -1265,14 +1259,8 @@ export class SystemKeywords {
} }
break; break;
case 'not in': case 'not in':
if (wholeWord) { if (v1.indexOf(v2) === -1) {
if (v1 !== v2) { filterAcceptCount++;
filterAcceptCount++;
}
} else {
if (v2.indexOf(v1) === -1) {
filterAcceptCount++;
}
} }
break; break;
case 'in': case 'in':
@ -1281,7 +1269,7 @@ export class SystemKeywords {
filterAcceptCount++; filterAcceptCount++;
} }
} else { } else {
if (v2.indexOf(v1) > -1) { if (v1.indexOf(v2) > -1) {
filterAcceptCount++; filterAcceptCount++;
} }
} }