Change how images and consists are sorted (#14)

This commit is contained in:
2023-01-02 16:08:25 +01:00
committed by GitHub
parent 89b666dab2
commit 32b5522a1e
10 changed files with 67 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ class Consist(models.Model):
return reverse("consist", kwargs={"uuid": self.uuid})
class Meta:
ordering = ["creation_time"]
ordering = ["company", "-creation_time"]
class ConsistItem(models.Model):