mirror of
https://github.com/ae-utbm/sith.git
synced 2025-12-20 23:03:21 +00:00
Migrate albums and pictures to their own tables
This commit is contained in:
@@ -96,7 +96,7 @@ class PicturesController(ControllerBase):
|
||||
return (
|
||||
filters.filter(Picture.objects.viewable_by(user))
|
||||
.distinct()
|
||||
.order_by("-parent__date", "date")
|
||||
.order_by("-parent__event_date", "created_at")
|
||||
.select_related("owner", "parent")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user