fix: search update

This commit is contained in:
Cory Dransfeldt 2024-11-03 10:45:58 -08:00
parent 270a8c0abb
commit 0bbff10d8b
No known key found for this signature in database

View file

@ -73,11 +73,7 @@ WITH search_data AS (
UNION ALL UNION ALL
SELECT SELECT
'show' AS type, 'show' AS type,
CASE WHEN s.review IS NOT NULL THEN CONCAT('📺 ', s.title, ' (', s.year, ')') AS title,
CONCAT('📺 ', s.title, ' (', s.year, ') - ', s.review)
ELSE
CONCAT('📺 ', s.title, ' (', s.year, ')')
END AS title,
CONCAT('https://coryd.dev', s.url) AS url, CONCAT('https://coryd.dev', s.url) AS url,
s.description AS description, s.description AS description,
s.tags, s.tags,