From 01e0bc25729ada485ea74af53c2629d3d5de37fd Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 23 Aug 2024 17:14:56 -0700 Subject: [PATCH] chore: make search a little broader --- config/collections/index.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/collections/index.js b/config/collections/index.js index 813fcd36..36afee06 100644 --- a/config/collections/index.js +++ b/config/collections/index.js @@ -65,8 +65,8 @@ export const processContent = (collection) => { } } - const movieData = movies['movies'].filter((movie) => movie['review']?.length && movie['rating']) - const bookData = books.all.filter((book) => book['review']?.length && book['rating']) + const movieData = movies['movies'].filter((movie) => movie['rating']) + const bookData = books.all.filter((book) => book['rating']) const addItemToIndex = (items, icon, getUrl, getTitle, getTags) => { if (items) { diff --git a/package-lock.json b/package-lock.json index e19a18a4..d5f2a144 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.6.0", + "version": "22.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.6.0", + "version": "22.6.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index eb033bac..0f415c11 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.6.0", + "version": "22.6.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": {