u
This commit is contained in:
@@ -25,6 +25,9 @@ export default function queryCategoryArticles(provider) {
|
||||
return {
|
||||
...rest,
|
||||
track_stock: Boolean(rest.track_stock ?? 1),
|
||||
// MSSQL returns BIT as boolean, SQLite as 0/1 integer. Normalize so both
|
||||
// dialects expose isFather as a real boolean, matching article/getBySku.
|
||||
isFather: Boolean(rest.isFather),
|
||||
brand: brandName
|
||||
? {
|
||||
id: brandId ?? null,
|
||||
|
||||
Reference in New Issue
Block a user