From 2330a8a92dc5492d1bb98d7295bac7c31d203c72 Mon Sep 17 00:00:00 2001 From: joao Date: Thu, 25 Aug 2022 22:09:44 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=A3o=20da=20ordena=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20documentos=20administrativos=20e=20corre=C3=A7=C3=A3o?= =?UTF-8?q?=20da=20view=20de=20correspondencias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index 3be4e28cf..b64809bf0 100644 --- a/sapl/protocoloadm/models.py +++ b/sapl/protocoloadm/models.py @@ -251,7 +251,7 @@ class DocumentoAdministrativo(models.Model): class Meta: verbose_name = _('Documento Administrativo') verbose_name_plural = _('Documentos Administrativos') - ordering = ('id',) + ordering = ('ano', 'numero', 'id',) @classmethod def mask_to_str(cls, values, mask):