We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba8bf68 commit 5490badCopy full SHA for 5490bad
packages/server/src/api/rest/index.ts
@@ -1602,8 +1602,8 @@ class RequestHandler extends APIHandlerBase {
1602
const values = value.split(',').filter((i) => i);
1603
const filterValue =
1604
values.length > 1
1605
- ? { OR: values.map((v) => this.makePrismaIdFilter(info.idFields, v)) }
1606
- : this.makePrismaIdFilter(info.idFields, value);
+ ? { OR: values.map((v) => this.makePrismaIdFilter(info.idFields, v, false)) }
+ : this.makePrismaIdFilter(info.idFields, value, false);
1607
return { some: filterValue };
1608
} else {
1609
return { is: this.makePrismaIdFilter(info.idFields, value, false) };
0 commit comments