Browse Source

HOT-FIX: ordena atas por data (desc)

pull/2015/head
Edward Ribeiro 7 years ago
parent
commit
b2c46e8370
  1. 2
      sapl/base/forms.py

2
sapl/base/forms.py

@ -529,7 +529,7 @@ class RelatorioAtasFilterSet(django_filters.FilterSet):
def qs(self):
parent = super(RelatorioAtasFilterSet, self).qs
return parent.distinct().prefetch_related('tipo').exclude(
upload_ata='').order_by('-legislatura', 'tipo', 'numero')
upload_ata='').order_by('-data_inicio', 'tipo', 'numero')
def __init__(self, *args, **kwargs):
super(RelatorioAtasFilterSet, self).__init__(

Loading…
Cancel
Save