Fix wrong playrange ordering
This commit is contained in:
parent
1f9b3d5682
commit
952961a3ad
|
@ -155,7 +155,9 @@ def view_game(request, game_id=None):
|
|||
.order_by("year_released")
|
||||
)
|
||||
|
||||
sessions = Session.objects.filter(purchase__edition__game=game)
|
||||
sessions = Session.objects.filter(purchase__edition__game=game).order_by(
|
||||
"timestamp_start"
|
||||
)
|
||||
session_count = sessions.count()
|
||||
|
||||
playrange_start = sessions.first().timestamp_start.strftime("%b %Y")
|
||||
|
|
Loading…
Reference in New Issue