diff --git a/templates/content-episodes.tpl.html b/templates/content-episodes.tpl.html index a1683db..a746c94 100644 --- a/templates/content-episodes.tpl.html +++ b/templates/content-episodes.tpl.html @@ -19,8 +19,8 @@ FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid INNER JOIN miniseries ON eps.series = miniseries.id - WHERE eps.date < date(\'now\', \'+1 days\') - ORDER BY eps.id + 0 DESC + WHERE eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY) + ORDER BY eps.id DESC ') %--> @@ -42,7 +42,7 @@ FROM twat_eps as eps INNER JOIN hosts ON eps.hostid = hosts.hostid INNER JOIN miniseries ON eps.series = miniseries.id - ORDER BY eps.id + 0 DESC + ORDER BY eps.id DESC ') %-->