re: make search work with Saleor API (WIP)

This commit is contained in:
Zaiste
2021-04-20 16:32:49 +02:00
parent 65df8036ae
commit a4cc1624c0
3 changed files with 4 additions and 13 deletions

View File

@@ -31,9 +31,10 @@ export const productConnection = /* GraphQL */ `
const getAllProductsQuery = /* GraphQL */ `
query getAllProducts(
$first: Int = 100
$filter: ProductFilterInput
$channel: String = "default-channel"
) {
products(first: $first, channel: $channel) {
products(first: $first, channel: $channel, filter: $filter) {
...productConnnection
}
}