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):