Merge branch 'main' into i299_fix-auto-scroll-highlighting-of-code-blocks
This commit is contained in:
@@ -403,6 +403,9 @@ article > p,
|
|||||||
font-size: var(--default-header-4-font-size);
|
font-size: var(--default-header-4-font-size);
|
||||||
margin-left: 22px;
|
margin-left: 22px;
|
||||||
}
|
}
|
||||||
|
.lane.stack > article > footer {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
a.lane-button {
|
a.lane-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -14,14 +14,24 @@
|
|||||||
WHERE miniseries.id = ?
|
WHERE miniseries.id = ?
|
||||||
ORDER BY name'
|
ORDER BY name'
|
||||||
%-->
|
%-->
|
||||||
<!--% query_shows_sql = 'SELECT
|
<!--% query_shows_sql = 'WITH
|
||||||
|
comment_tallies AS (
|
||||||
|
SELECT
|
||||||
|
eps_id,
|
||||||
|
COUNT(eps_id) AS eps_tally
|
||||||
|
FROM comments
|
||||||
|
GROUP BY eps_id
|
||||||
|
)
|
||||||
|
SELECT
|
||||||
id, date, title,
|
id, date, title,
|
||||||
duration, summary, notes,
|
duration, summary, notes,
|
||||||
explicit, eps.license, tags,
|
explicit, eps.license, tags,
|
||||||
hosts.host, hosts.hostid
|
hosts.host, hosts.hostid,
|
||||||
|
COALESCE(comment_tallies.eps_tally,0) AS commentsTally
|
||||||
FROM eps
|
FROM eps
|
||||||
INNER JOIN hosts
|
INNER JOIN hosts
|
||||||
ON eps.hostid = hosts.hostid
|
ON eps.hostid = hosts.hostid
|
||||||
|
LEFT JOIN comment_tallies ON eps.id = comment_tallies.eps_id
|
||||||
WHERE series = ? AND eps.date < date(\'now\', \'+1 days\')
|
WHERE series = ? AND eps.date < date(\'now\', \'+1 days\')
|
||||||
ORDER BY eps.id DESC
|
ORDER BY eps.id DESC
|
||||||
'
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user