Fix title not being displayed on the Recent sessions page

This commit is contained in:
Lukáš Kucharczyk 2024-01-14 21:40:15 +01:00
parent 73a92e5636
commit b94aa49fc3
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,9 @@
## Improved ## Improved
* mark refunded purchases red on game overview * mark refunded purchases red on game overview
## Fixed
* Fix title not being displayed on the Recent sessions page
## 1.5.2 / 2024-01-14 21:27+01:00 ## 1.5.2 / 2024-01-14 21:27+01:00
## Improved ## Improved

View File

@ -311,6 +311,7 @@ def list_sessions(
dataset = all_sessions dataset = all_sessions
context = { context = {
**context,
"dataset": dataset, "dataset": dataset,
"dataset_count": dataset.count(), "dataset_count": dataset.count(),
"last": Session.objects.prefetch_related("purchase__platform").latest(), "last": Session.objects.prefetch_related("purchase__platform").latest(),