From a05a4791d6aafad9f92a7448ad3abbb5b157f11b Mon Sep 17 00:00:00 2001 From: seb Date: Sat, 1 Aug 2026 01:50:22 +0200 Subject: [PATCH] u --- README.md | 2 +- src/sql/articleDetail.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10f47f1..d5e3270 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ Backend mapping: unit: { si }, brand: { name, thumbW, thumbH, thumbHash } | null, categoryIds: number[], - photos: { sort, thumbW, thumbH, thumbHash }[], + photos: { sort, fullHash, thumbW, thumbH, thumbHash }[], eans: string[], prices: { minmultiplier, net, taxRate, customergroupId }[], optionsCount, articleListCount, childCount, diff --git a/src/sql/articleDetail.js b/src/sql/articleDetail.js index 5d9b14e..169e442 100644 --- a/src/sql/articleDetail.js +++ b/src/sql/articleDetail.js @@ -64,6 +64,7 @@ ORDER BY ca.category_id export const GET_PHOTOS_BY_ARTICLE_ID = ` SELECT ap.sort, + p.hash AS fullHash, p.thumbw AS thumbW, p.thumbh AS thumbH, p.thumbhash AS thumbHash