From f1362886f90e317170165d0dfa9fbee00c1390c7 Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Tue, 4 Oct 2016 11:44:41 -0300 Subject: [PATCH] Corrige ordem do campo dos cargos da Mesa Signed-off-by: Luciano Almeida --- sapl/sessao/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index e39377152..a3b1e082b 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -782,7 +782,6 @@ class MesaView(FormMixin, DetailView): lista_cargos_ocupados.append(cargo) lista = list(set(lista_cargos) - set(lista_cargos_ocupados)) - lista.sort(key=lambda x: x.descricao) return lista def get_success_url(self):