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

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "6.0.0", "version": "6.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "6.0.0", "version": "6.0.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"html-minifier-terser": "7.2.0", "html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "6.0.0", "version": "6.0.1",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"engines": { "engines": {

View file

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