Browse Source

Fix #1124

pull/1076/merge
Eduardo Calil 8 years ago
parent
commit
8d032196a5
  1. 2
      sapl/materia/views.py

2
sapl/materia/views.py

@ -1614,6 +1614,8 @@ class DocumentoAcessorioEmLoteView(PermissionRequiredMixin, FilterView):
qr = self.request.GET.copy() qr = self.request.GET.copy()
context['tipos_docs'] = TipoDocumento.objects.all() context['tipos_docs'] = TipoDocumento.objects.all()
context['object_list'] = context['object_list'].order_by(
'ano', 'numero')
context['filter_url'] = ('&' + qr.urlencode()) if len(qr) > 0 else '' context['filter_url'] = ('&' + qr.urlencode()) if len(qr) > 0 else ''
return context return context

Loading…
Cancel
Save