fix bug & remove dynamic
This commit is contained in:
@ -37,7 +37,8 @@ class LogListMixin(GetDateMixin):
|
||||
)
|
||||
|
||||
def get_diffusions_queryset(self):
|
||||
qs = Diffusion.objects.station(self.station).on_air().filter(start__lte=tz.now())
|
||||
qs = Diffusion.objects.station(self.station).on_air().filter(start__lte=tz.now()).before()
|
||||
|
||||
return (
|
||||
qs.date(self.date)
|
||||
if self.date is not None
|
||||
|
Reference in New Issue
Block a user