From cb3b8c931e5ad1a9afd1486b1d666fbfc77be73f Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Fri, 16 Oct 2020 00:11:41 +0200 Subject: [PATCH] fixed broken defautl share --- cookbook/templates/shopping_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/templates/shopping_list.html b/cookbook/templates/shopping_list.html index 8656690f5..c7f114c86 100644 --- a/cookbook/templates/shopping_list.html +++ b/cookbook/templates/shopping_list.html @@ -463,7 +463,7 @@ "entries": [], "entries_display": [], "shared": [{% for u in request.user.userpreference.plan_share.all %} - {{ u.pk }}, + { 'id': {{ u.pk }}, 'username': '{{ u.get_user_name }}' }, {% endfor %}], "created_by": 1 }