Skip to content

Commit

Permalink
Updated ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Severinsen authored and Anders Severinsen committed Nov 6, 2024
1 parent a1e2f05 commit 36692c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@python_2_unicode_compatible
class Album(models.Model):
class Meta:
ordering = ["year", "-eventalbum", "oldFolder", "publish_date"]
ordering = ["year", "-eventalbum", "oldFolder", "-publish_date"]
unique_together = (("year", "slug"),)

title = models.CharField(max_length=200, verbose_name=_("Titel"))
Expand Down

0 comments on commit 36692c7

Please sign in to comment.