From adccf0ffcc08051677143ac97e185d2164790585 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 12 Oct 2024 22:42:34 -0700 Subject: [PATCH] chore: remove year from book subtext --- views/media/books.psql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/media/books.psql b/views/media/books.psql index 7fe0a4e7..dd31b47e 100644 --- a/views/media/books.psql +++ b/views/media/books.psql @@ -96,8 +96,8 @@ SELECT 'subtext', CASE WHEN b.star_rating IS NOT NULL - THEN CONCAT(EXTRACT(YEAR FROM b.date_finished), ' (', b.star_rating, ')') - ELSE EXTRACT(YEAR FROM b.date_finished)::TEXT + THEN CONCAT('(', b.star_rating, ')') + ELSE NULL END ) AS grid,