From 4b51a87ed9910413652a5b369c7cab00e771299a Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Tue, 13 Sep 2016 17:44:27 -0300 Subject: [PATCH] Resolve problema com permissoes de comissoes --- sapl/comissoes/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/comissoes/views.py b/sapl/comissoes/views.py index 81c978081..55b262895 100644 --- a/sapl/comissoes/views.py +++ b/sapl/comissoes/views.py @@ -137,8 +137,7 @@ class ComissaoCrud(Crud): class DeleteView(PermissionRequiredMixin, CrudDeleteView): permission_required = permissoes_comissoes() - class ListView(PermissionRequiredMixin, CrudListView): - permission_required = permissoes_comissoes() + class ListView(CrudListView): ordering = ['-ativa', 'sigla'] class BaseMixin(CrudBaseMixin):