From a3264db994bb3376b3fadb6a26c3be09392e13fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9DNyymix=E2=80=9D?= Date: Fri, 25 Apr 2025 23:06:56 +0300 Subject: [PATCH] Fix photolist order --- gallery/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery/views.py b/gallery/views.py index a256496..8997e38 100644 --- a/gallery/views.py +++ b/gallery/views.py @@ -99,7 +99,7 @@ class PhotosList(ListView): def get_queryset(self): ordering_options = { 'latest': '-taken_at', - 'liked': 'likes', + 'liked': '-likes', 'popular': '-views', 'favorite': '-is_favorite' }