From bf00925a3f61f7a162073378bbba1a1d23faf0fb Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 12 Sep 2022 22:27:08 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20ajuste=20de=20limita=C3=A7=C3=A3o=20em?= =?UTF-8?q?=20resultados=20de=20filtro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/base/views.py b/sapl/base/views.py index b9bc1f2b0..035951e40 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -1205,7 +1205,7 @@ class EstatisticasAcessoNormas(TemplateView): context['mais_acessadas'] = int( self.request.GET.get('mais_acessadas', 5)) - if not context['mes']: + if not context['mes'] and context['mais_acessadas'] > 10: context['mais_acessadas'] = 10 params = {