Browse Source

Ordena resultado da pesquisa de protocolo

pull/626/head
Eduardo Edson Batista Cordeiro Alves 8 years ago
parent
commit
18d59edbd4
  1. 2
      sapl/protocoloadm/views.py

2
sapl/protocoloadm/views.py

@ -95,7 +95,7 @@ class ProtocoloPesquisaView(PermissionRequiredMixin, FilterView):
kwargs = {'data': self.request.GET or None}
qs = self.get_queryset()
qs = self.get_queryset().order_by('ano', 'numero')
qs = qs.distinct()

Loading…
Cancel
Save