diff --git a/sapl/base/views.py b/sapl/base/views.py index 2f26e67c8..bb2161de2 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -67,7 +67,7 @@ class RelatorioPresencaSessaoView(FilterView): 'sessaoplenariapresenca__sessao_plenaria__data_inicio', distinct=True), ordemdia_count=Count( - 'presencaordemdia__sessao_plenaria__data_inicio', + 'presencaordemdia__sessao_plenaria', distinct=True), sessao_porc=Count(0), ordemdia_porc=Count(0))