Updated sql statment for bartender.
This commit is contained in:
1 parent
8998752865
commit
eec69819e9
1 file changed
+1
-5
+1
-5
@@ -103,11 +103,7 @@ SELECT
|
|||||||
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
|
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
|
||||||
v.ean AS ean,
|
v.ean AS ean,
|
||||||
COALESCE(v.description, a.description) AS description,
|
COALESCE(v.description, a.description) AS description,
|
||||||
CONCAT(COALESCE(v.ingredients, a.ingredients),
|
COALESCE(v.ingredients, a.ingredients) AS ingredients,
|
||||||
CASE
|
|
||||||
WHEN COALESCE(v.ingredients, a.ingredients) LIKE '%Zutaten:%' THEN CONCAT('<br>', s.bio_info)
|
|
||||||
ELSE '' END
|
|
||||||
) AS ingredients,
|
|
||||||
COALESCE(a.mhd, s.mhd) AS mhd,
|
COALESCE(a.mhd, s.mhd) AS mhd,
|
||||||
COALESCE(a.allergens_text, s.allergens_text) AS allergens_info,
|
COALESCE(a.allergens_text, s.allergens_text) AS allergens_info,
|
||||||
CONCAT(
|
CONCAT(
|
||||||
|
|||||||
Reference in new issue
Block a user