From 4dfda4439c632d67159af5df81a12b9d96db70d0 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 4 Nov 2020 16:53:49 +0100 Subject: [PATCH] re added standard filter to recipe api --- cookbook/views/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/views/api.py b/cookbook/views/api.py index 5937184ae2..eff2480d82 100644 --- a/cookbook/views/api.py +++ b/cookbook/views/api.py @@ -205,7 +205,7 @@ class RecipeViewSet(viewsets.ModelViewSet, StandardFilterMixin): permission_classes = [CustomIsShare | CustomIsGuest] # TODO split read and write permission for meal plan guest def get_queryset(self): - queryset = self.queryset + queryset = super().get_queryset() internal = self.request.query_params.get('internal', None) if internal: