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 862849e commit 3b12eb5Copy full SHA for 3b12eb5
templates/web/src/query.ts.twig
@@ -93,9 +93,9 @@ export class Query {
93
static contains = (attribute: string, value: string | string[]): string =>
94
new Query("contains", attribute, value).toString();
95
96
- static or = (...queries: Query[]) =>
+ static or = (...queries: string[]) =>
97
new Query("or", undefined, queries.map((query) => JSON.parse(query))).toString();
98
99
- static and = (...queries: Query[]) =>
+ static and = (...queries: string[]) =>
100
new Query("and", undefined, queries.map((query) => JSON.parse(query))).toString();
101
}
0 commit comments