Fix display of corresponent episodes

Prevent display of future episodes which have been uploaded to HPR.
This commit is contained in:
Roan Horning 2022-08-09 18:18:04 -04:00
parent f90c704033
commit fe3ed40641
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -21,7 +21,7 @@
FROM eps FROM eps
INNER JOIN hosts ON eps.hostid = hosts.hostid INNER JOIN hosts ON eps.hostid = hosts.hostid
INNER JOIN miniseries ON eps.series = miniseries.id INNER JOIN miniseries ON eps.series = miniseries.id
WHERE hosts.hostid = ? WHERE hosts.hostid = ? AND eps.date < date(\'now\', \'+1 days\')
ORDER BY date DESC ') ORDER BY date DESC ')
%--> %-->
<!--% shows_to_count = query_show_count.execute(id); %--> <!--% shows_to_count = query_show_count.execute(id); %-->