Hello @wowa1
Can you be a bit more specific as to what data is showing when it shouldn’t and where this data is being shown (frontend, backend or recipe schema)? I did make some changes to that feature so it is possible I may have introduced a bug.
Thread Starter
wowa1
(@wowa1)
Hello @w33zy
The problem occurs in the frontend.
For example in the backend i have only values for Calories (other nutrition fields void)
Nutrition
Calories: Joules: Per:
533 kcal 2228 kJ portion
Protein: Fat: Carbs:
So I expect in the frontend only information about calories as it is in version 2.3.0. Here the output in the frontend is:
Nutritional information
per portion
Calories: 533 kcal / 2228 kJ
But version 2.4.1 gives:
Nutritional information
per portion
Calories: 533 kcal / 2228 kJ Fat: g Protein: g Carbs: g`
In this case void fields should not be shown.
Thank You
Thanks I now see this this issue. I now need to figure out a better way to differentiate between an empty field and when a user may enter a “0” to indicate a zero value for a nutrition field.
I will fix this in a patch I will release later today.