fix(tagged_content.sql): include books that have been started in addition to finished

This commit is contained in:
Cory Dransfeldt 2025-05-16 13:26:41 -07:00
parent 2666d6ed67
commit 63c5862620
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ SELECT
'books'::TEXT AS type,
'Book'::TEXT AS label
FROM optimized_books b
WHERE LOWER(b.status) = 'finished'
WHERE LOWER(b.status) IN ('finished', 'started')
UNION ALL
SELECT
unnest(m.tags) AS tag,