[templates] Clean up chart displays
This commit is contained in:
@ -153,7 +153,7 @@ class ChartContextMixin:
|
||||
if media_type:
|
||||
context["charts"] = ChartRecord.objects.filter(
|
||||
**{media_type: obj}, rank__in=[1, 2, 3]
|
||||
)
|
||||
).exclude(day__isnull=False)
|
||||
|
||||
return context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user