Browse Source

corrige definição de listagem de legislatura

pull/3585/head
LeandroJatai 2 years ago
parent
commit
5d6ddd6937
  1. 13
      sapl/parlamentares/views.py

13
sapl/parlamentares/views.py

@ -656,14 +656,11 @@ class ComposicaoColigacaoCrud(MasterDetailCrud):
class LegislaturaCrud(CrudAux): class LegislaturaCrud(CrudAux):
model = Legislatura model = Legislatura
help_topic = 'legislatura' help_topic = 'legislatura'
list_field_names = [
class BaseMixin(Crud.BaseMixin): 'numero',
ordered_list = False 'data_eleicao',
list_field_names = [ 'data_inicio',
'numero', 'data_fim']
'data_eleicao',
'data_inicio',
'data_fim']
class CreateView(CrudAux.CreateView): class CreateView(CrudAux.CreateView):
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

Loading…
Cancel
Save