Fix photolist order
This commit is contained in:
parent
4436042738
commit
a3264db994
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue