Add missing filters to query variables
This commit is contained in:
parent
bd84bcbbf0
commit
12255d7f38
1 changed files with 21 additions and 1 deletions
|
@ -147,7 +147,27 @@ export function getFilterVariables(
|
||||||
params.availableInGrid !== undefined
|
params.availableInGrid !== undefined
|
||||||
? parseBoolean(params.availableInGrid, false)
|
? parseBoolean(params.availableInGrid, false)
|
||||||
: undefined,
|
: undefined,
|
||||||
search: params.query
|
filterableInDashboard:
|
||||||
|
params.filterableInDashboard !== undefined
|
||||||
|
? parseBoolean(params.filterableInDashboard, false)
|
||||||
|
: undefined,
|
||||||
|
filterableInStorefront:
|
||||||
|
params.filterableInStorefront !== undefined
|
||||||
|
? parseBoolean(params.filterableInStorefront, false)
|
||||||
|
: undefined,
|
||||||
|
isVariantOnly:
|
||||||
|
params.isVariantOnly !== undefined
|
||||||
|
? parseBoolean(params.isVariantOnly, false)
|
||||||
|
: undefined,
|
||||||
|
search: params.query,
|
||||||
|
valueRequired:
|
||||||
|
params.valueRequired !== undefined
|
||||||
|
? parseBoolean(params.valueRequired, false)
|
||||||
|
: undefined,
|
||||||
|
visibleInStorefront:
|
||||||
|
params.visibleInStorefront !== undefined
|
||||||
|
? parseBoolean(params.visibleInStorefront, false)
|
||||||
|
: undefined
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue