Updated sql statment for bartender.

This commit is contained in:
matthias committed 2026-10-10 17:01:32 +02:00
1 parent 8998752865
commit eec69819e9
1 file changed
+1 -5
+1 -5
View File
@@ -103,11 +103,7 @@ SELECT
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
v.ean AS ean,
COALESCE(v.description, a.description) AS description,
CONCAT(COALESCE(v.ingredients, a.ingredients),
CASE
WHEN COALESCE(v.ingredients, a.ingredients) LIKE '%Zutaten:%' THEN CONCAT('<br>', s.bio_info)
ELSE '' END
) AS ingredients,
COALESCE(v.ingredients, a.ingredients) AS ingredients,
COALESCE(a.mhd, s.mhd) AS mhd,
COALESCE(a.allergens_text, s.allergens_text) AS allergens_info,
CONCAT(