From fe3ed4064195e2b68aa5c246952d255b4ca18757 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Tue, 9 Aug 2022 18:18:04 -0400 Subject: [PATCH] Fix display of corresponent episodes Prevent display of future episodes which have been uploaded to HPR. --- templates/content-correspondent.tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/content-correspondent.tpl.html b/templates/content-correspondent.tpl.html index 47fc828..97e9159 100644 --- a/templates/content-correspondent.tpl.html +++ b/templates/content-correspondent.tpl.html @@ -21,7 +21,7 @@ FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid 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 ') %-->