fix(tagged_content.sql): include books that have been started in addition to finished
This commit is contained in:
parent
2666d6ed67
commit
63c5862620
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue