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
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue