Limit correspondent page episode count to released episodes #204
@ -1,5 +1,5 @@
|
||||
<!--% query_hpr_shows = '
|
||||
SELECT
|
||||
SELECT
|
||||
eps.id,
|
||||
eps.explicit,
|
||||
eps.date, eps.license, eps.duration,
|
||||
@ -17,8 +17,8 @@
|
||||
'
|
||||
%-->
|
||||
<!--% query_hpr_show_count = '
|
||||
SELECT id
|
||||
FROM eps
|
||||
WHERE eps.hostid = ? eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY)
|
||||
|
||||
SELECT id
|
||||
FROM eps
|
||||
WHERE eps.hostid = ? AND eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY)
|
||||
'
|
||||
%-->
|
||||
|
Loading…
Reference in New Issue
Block a user