diff --git a/apps/assets/models/domain.py b/apps/assets/models/domain.py index c0c3f4805..1a2dbbc4e 100644 --- a/apps/assets/models/domain.py +++ b/apps/assets/models/domain.py @@ -26,6 +26,7 @@ class Domain(OrgModelMixin): class Meta: verbose_name = _("Domain") unique_together = [('org_id', 'name')] + ordering = ('name',) def __str__(self): return self.name