From f29c1d00e13bcb0a26ebbc672f46e090a6d41f9b Mon Sep 17 00:00:00 2001 From: joaohortsenado <100957576+joaohortsenado@users.noreply.github.com> Date: Fri, 26 Aug 2022 14:27:43 -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=20(#3603)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: joao --- 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):