hpr_generator/templates/queries-correspondent-sqlite.tpl.html

19 lines
493 B
HTML
Raw Permalink Normal View History

2023-02-08 21:05:36 +00:00
<!--% query_hpr_shows = '
SELECT
eps.id,
eps.explicit,
2023-02-08 21:05:36 +00:00
eps.date, eps.license, eps.duration,
eps.title, eps.summary, eps.tags,
2023-02-08 21:05:36 +00:00
eps.notes,
hosts.local_image,
hosts.hostid,
hosts.host, hosts.email, hosts.profile,
2023-02-08 21:05:36 +00:00
miniseries.name AS series, miniseries.id AS seriesid
FROM eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
2023-02-08 21:05:36 +00:00
INNER JOIN miniseries ON eps.series = miniseries.id
WHERE hosts.hostid = ? AND eps.date < date(\'now\', \'+1 days\')
ORDER BY eps.id + 0 DESC
2023-02-08 21:05:36 +00:00
'
%-->