From 5db7267a7da5c26d27a07d67b95a5889600d303b Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sun, 13 Jun 2021 18:11:31 +0200 Subject: [PATCH] actual meal plan fixes --- cookbook/templates/meal_plan.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/templates/meal_plan.html b/cookbook/templates/meal_plan.html index 3e3ed2661..1f92a1aa0 100644 --- a/cookbook/templates/meal_plan.html +++ b/cookbook/templates/meal_plan.html @@ -701,10 +701,10 @@ let first = true for (let se of this.shopping_list) { if (first) { - url += `?r=[${se.recipe},${se.servings}]` + url += `?r=[${se.recipe.id},${se.servings}]` first = false } else { - url += `&r=[${se.recipe},${se.servings}]` + url += `&r=[${se.recipe.id},${se.servings}]` } } return url