chore: remove old filters, hardcoded types, old post status from view

This commit is contained in:
Cory Dransfeldt 2024-10-13 15:51:27 -07:00
parent ffea333d55
commit 76a172bb74
No known key found for this signature in database
15 changed files with 15 additions and 48 deletions

View file

@ -3,7 +3,7 @@ SELECT
ar.name_string AS name,
ar.slug AS url,
ar.tentative,
ar.total_plays AS totalPlays,
ar.total_plays,
ar.country,
ar.description,
ar.favorite,
@ -27,8 +27,8 @@ SELECT
(
SELECT json_agg(json_build_object(
'name', a.name,
'releaseYear', a.release_year,
'totalPlays', a.total_plays,
'release_year', a.release_year,
'total_plays', a.total_plays,
'art', df_album.filename_disk
) ORDER BY a.release_year)
FROM albums a