From b32de39f4efab65ed8b6da6943d10314a578aba6 Mon Sep 17 00:00:00 2001 From: LeandroRoberto Date: Mon, 3 Oct 2016 10:01:59 -0300 Subject: [PATCH] =?UTF-8?q?Torna=20p=C3=BAblica=20a=20lista=20e=20detalhe?= =?UTF-8?q?=20de=20Mat=20Exped?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index f30e78e92..6091f668f 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -246,12 +246,13 @@ class ExpedienteMateriaCrud(MasterDetailCrud): model = ExpedienteMateria parent_field = 'sessao_plenaria' help_path = '' + public = [RP_LIST, RP_DETAIL] class BaseMixin(MasterDetailCrud.BaseMixin): list_field_names = ['numero_ordem', 'materia', 'observacao', 'resultado'] - class ListView(Crud.PublicMixin, MasterDetailCrud.ListView): + class ListView(MasterDetailCrud.ListView): ordering = ['numero_ordem', 'materia', 'resultado'] def get_rows(self, object_list):