From 69e870f9587b72ddd07402b9e2d1813874e4e847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Tue, 3 Dec 2024 17:50:48 +0100 Subject: [PATCH] =?UTF-8?q?Podle=20m=C4=9B=20funguje=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- korektury/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/korektury/views.py b/korektury/views.py index 08854d95..81f7c962 100644 --- a/korektury/views.py +++ b/korektury/views.py @@ -14,7 +14,6 @@ import os class KorekturyListView(generic.ListView): model = KorekturovanePDF - # Nefunguje, filtry se vubec nepouziji queryset = KorekturovanePDF.objects.annotate( k_oprave_cnt=Count('oprava',distinct=True,filter=Q(oprava__status='k_oprave')), opraveno_cnt=Count('oprava',distinct=True,filter=Q(oprava__status='opraveno')),