Merge branch 'master' into 2369-rework-stock-product-handling

This commit is contained in:
Rikard Bartholf
2022-09-14 15:41:24 +02:00
10 changed files with 5142 additions and 6755 deletions
+9
View File
@@ -119,6 +119,15 @@ export function product(id: number) {
);
}
export function productByPath(path: string) {
return (
baseQuery +
/* sql */ `
WHERE products.path = '${path}'
`
);
}
export function categoryProducts(categoryId: number) {
return (
baseQuery +