Temporary fix to get future episodes working. Removed the date restriction
This commit is contained in:
parent
fb2b3ec6db
commit
a97cc7714f
@ -2,7 +2,6 @@
|
|||||||
WITH episode_maxmin AS (
|
WITH episode_maxmin AS (
|
||||||
SELECT MAX(id) AS \'latest\', MIN(id) AS \'earliest\', ? AS \'id\'
|
SELECT MAX(id) AS \'latest\', MIN(id) AS \'earliest\', ? AS \'id\'
|
||||||
FROM eps
|
FROM eps
|
||||||
WHERE eps.date < date(\'now\', \'+1 days\')
|
|
||||||
),
|
),
|
||||||
episode_date AS (
|
episode_date AS (
|
||||||
SELECT eps.date
|
SELECT eps.date
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
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 eps.date < date(\'now\', \'+1 days\')
|
|
||||||
ORDER BY eps.id + 0 DESC'
|
ORDER BY eps.id + 0 DESC'
|
||||||
%-->
|
%-->
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<!--% query_ids_episode = 'select eps.id from eps
|
<!--% query_ids_episode = 'select eps.id from eps'
|
||||||
where eps.date < date(\'now\', \'+1 days\')'
|
|
||||||
%-->
|
%-->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user