Closed BethanyG closed 7 years ago
As it turns out, there was nothing wrong with the display code .... the JSON was being returned from the backend with the ingredients section nested a level lower than expected. Since the JS was failing to unpack the JSON at the higher level -- it never got to the ingredient analysis section for unpacking & display in the Nutritionx label.
This has been fixed for the time being in the analysis_URL.html template, but should actually be fixed with a re-factoring of the JSON-making code to better represent the recipe.
Doesn't make sense to fix this for python 2.7.13 when we are migrating to 3.6.1