From 5d6ddd6937820bcf7286d012c4403055ee5436dd Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Thu, 28 Jul 2022 21:41:54 -0300 Subject: [PATCH] =?UTF-8?q?corrige=20defini=C3=A7=C3=A3o=20de=20listagem?= =?UTF-8?q?=20de=20legislatura?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/parlamentares/views.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sapl/parlamentares/views.py b/sapl/parlamentares/views.py index 27c74dd8e..43a54c0f0 100644 --- a/sapl/parlamentares/views.py +++ b/sapl/parlamentares/views.py @@ -656,14 +656,11 @@ class ComposicaoColigacaoCrud(MasterDetailCrud): class LegislaturaCrud(CrudAux): model = Legislatura help_topic = 'legislatura' - - class BaseMixin(Crud.BaseMixin): - ordered_list = False - list_field_names = [ - 'numero', - 'data_eleicao', - 'data_inicio', - 'data_fim'] + list_field_names = [ + 'numero', + 'data_eleicao', + 'data_inicio', + 'data_fim'] class CreateView(CrudAux.CreateView): logger = logging.getLogger(__name__)