Browse Source

Fix #1281

pull/1298/head
Eduardo Calil 8 years ago
parent
commit
11237329c3
  1. 7
      sapl/materia/views.py

7
sapl/materia/views.py

@ -1100,6 +1100,13 @@ class AutoriaCrud(MasterDetailCrud):
q = autor_parlamentar | autor_comissoes | autores_outros
return q
class ListView(MasterDetailCrud.ListView):
def get_queryset(self):
qs = super().get_queryset()
return qs.order_by('-primeiro_autor', 'autor__nome')
class DespachoInicialCrud(MasterDetailCrud):
model = DespachoInicial

Loading…
Cancel
Save