From a97cc7714f03c46b5715a781fcfea0d6f32fbccd Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Wed, 12 Jul 2023 08:54:41 +0200 Subject: [PATCH] Temporary fix to get future episodes working. Removed the date restriction --- templates/queries-episode-sqlite.tpl.html | 1 - templates/queries-episodes-sqlite.tpl.html | 1 - templates/queries-ids-episode-sqlite.tpl.html | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/queries-episode-sqlite.tpl.html b/templates/queries-episode-sqlite.tpl.html index b2566bd..66b412f 100644 --- a/templates/queries-episode-sqlite.tpl.html +++ b/templates/queries-episode-sqlite.tpl.html @@ -2,7 +2,6 @@ WITH episode_maxmin AS ( SELECT MAX(id) AS \'latest\', MIN(id) AS \'earliest\', ? AS \'id\' FROM eps - WHERE eps.date < date(\'now\', \'+1 days\') ), episode_date AS ( SELECT eps.date diff --git a/templates/queries-episodes-sqlite.tpl.html b/templates/queries-episodes-sqlite.tpl.html index 9a203b2..53e87ab 100644 --- a/templates/queries-episodes-sqlite.tpl.html +++ b/templates/queries-episodes-sqlite.tpl.html @@ -9,7 +9,6 @@ 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' %--> diff --git a/templates/queries-ids-episode-sqlite.tpl.html b/templates/queries-ids-episode-sqlite.tpl.html index 71e012a..757be88 100644 --- a/templates/queries-ids-episode-sqlite.tpl.html +++ b/templates/queries-ids-episode-sqlite.tpl.html @@ -1,4 +1,3 @@ -