Fix graph timeline being backwards
This commit is contained in:
parent
a851b5329a
commit
2ce4dd3a0e
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Fixed
|
||||
* When filtering by game, the "Filtering by (...)" text would erroneously list an unrelated platform
|
||||
* Playtime graph would display timeline backwards
|
||||
|
||||
## 0.2.3 / 2023-01-15 23:13+01:00
|
||||
|
||||
|
|
|
@ -74,7 +74,8 @@ def list_sessions(request, filter="", purchase_id="", platform_id="", game_id=""
|
|||
|
||||
context["total_duration"] = dataset.total_duration()
|
||||
context["dataset"] = dataset
|
||||
context["chart"] = playtime_over_time_chart(dataset)
|
||||
# charts are always oldest->newest
|
||||
context["chart"] = playtime_over_time_chart(dataset.order_by("timestamp_start"))
|
||||
|
||||
return render(request, "list_sessions.html", context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue