Hardcode top 30 results, fix padding

This commit is contained in:
Claudio Ortolina
2025-04-05 12:47:31 +01:00
parent 8d602aa50b
commit 19e6e17542
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -279,6 +279,7 @@ defmodule MusicLibrary.Records do
from records, json_each(records.artists) artist
group by name
order by count desc
limit 30
"""),
select: {fragment("name"), fragment("count")}
@@ -296,6 +297,7 @@ defmodule MusicLibrary.Records do
from records, json_each(records.genres) genre
group by name
order by count desc
limit 30
"""),
select: {fragment("name"), fragment("count")}