diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index be02f467b..c9fffea30 100644 --- a/sapl/protocoloadm/views.py +++ b/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()