Browse Source

Fix #620

pull/626/head
Eduardo Calil 8 years ago
parent
commit
a5ad28b890
  1. 2
      sapl/parlamentares/views.py

2
sapl/parlamentares/views.py

@ -241,7 +241,7 @@ class MandatoCrud(MasterDetailCrud):
help_path = ''
class ListView(MasterDetailCrud.ListView):
ordering = ('-numero')
ordering = ('-legislatura__numero')
class CreateView(PermissionRequiredMixin, MasterDetailCrud.CreateView):
permission_required = permissoes_parlamentares()

Loading…
Cancel
Save