From c08a442ce57eb46dbb0d3a2c8c13b411df3090e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 11 Nov 2021 21:12:21 +0100 Subject: [PATCH] Fix bug in QR search on component pages --- shimatta_kenkyusho/parts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shimatta_kenkyusho/parts/views.py b/shimatta_kenkyusho/parts/views.py index c0b14ed..0db0612 100644 --- a/shimatta_kenkyusho/parts/views.py +++ b/shimatta_kenkyusho/parts/views.py @@ -425,7 +425,7 @@ class ComponentDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView): if 'submit-edit-comp' in request.POST: return self.handle_submit_edit_post(request, **kwargs) - super().post(request, *args, **kwargs) + return super().post(request, *args, **kwargs) class PackageDetailView(LoginRequiredMixin, BaseTemplateMixin, DetailView): template_name = 'parts/packages-detail.html'