This commit is contained in:
seb
2026-08-01 01:50:22 +02:00
parent 671064bf3f
commit a05a4791d6
2 changed files with 2 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ Backend mapping:
unit: { si }, unit: { si },
brand: { name, thumbW, thumbH, thumbHash } | null, brand: { name, thumbW, thumbH, thumbHash } | null,
categoryIds: number[], categoryIds: number[],
photos: { sort, thumbW, thumbH, thumbHash }[], photos: { sort, fullHash, thumbW, thumbH, thumbHash }[],
eans: string[], eans: string[],
prices: { minmultiplier, net, taxRate, customergroupId }[], prices: { minmultiplier, net, taxRate, customergroupId }[],
optionsCount, articleListCount, childCount, optionsCount, articleListCount, childCount,

View File

@@ -64,6 +64,7 @@ ORDER BY ca.category_id
export const GET_PHOTOS_BY_ARTICLE_ID = ` export const GET_PHOTOS_BY_ARTICLE_ID = `
SELECT SELECT
ap.sort, ap.sort,
p.hash AS fullHash,
p.thumbw AS thumbW, p.thumbw AS thumbW,
p.thumbh AS thumbH, p.thumbh AS thumbH,
p.thumbhash AS thumbHash p.thumbhash AS thumbHash