This commit is contained in:
seb
2026-10-08 12:59:10 +02:00
parent b51149c7f0
commit 46ea04c0cb
8 changed files with 33 additions and 106 deletions

View File

@@ -432,7 +432,7 @@ SELECT
a.sku,
at.name,
at.slug,
at.[desc] AS description,
at.[desc] AS [desc],
at.seo AS seo,
a.unitamount,
a.weight,

View File

@@ -3,7 +3,7 @@ export const ARTICLE_DETAIL_COLUMNS = `
a.sku,
at.name,
at.slug,
at.[desc] AS description,
at.[desc] AS [desc],
at.seo,
a.unitamount,
a.weight,

View File

@@ -122,7 +122,7 @@ WITH auth AS (
SELECT auth.*,
json_object(
'id', a.id, 'sku', a.sku, 'name', at.name, 'slug', at.slug,
'description', at."desc", 'seo', at.seo,
'desc', at."desc", 'seo', at.seo,
'unitamount', a.unitamount, 'weight', a.weight,
'track_stock', a.track_stock,
'unitSi', u.si, 'unitBasesi', u.basesi,