Skip to content
Snippets Groups Projects

Resolve "More intelligent collection sorting"

Merged Frank Sauerburger requested to merge 57-more-intelligent-collection-sorting into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -38,8 +38,8 @@ class Collection(models.Model):
choices=VISIBILITY_LEVELS,
default=PRIVATE_LEVEL,
)
created = models.DateTimeField(auto_now_add=True)
activity = models.DateTimeField(auto_now_add=True)
created = models.DateTimeField(auto_now_add=True, null=True)
activity = models.DateTimeField(auto_now_add=True, null=True)
class Meta:
ordering = ['-activity', Lower('title')]
Loading