Sort records by artist, then title

This commit is contained in:
Claudio Ortolina
2024-09-22 16:54:38 +01:00
parent 380fa3428b
commit 5e97f72f2a
+1 -1
View File
@@ -10,7 +10,7 @@ defmodule MusicLibrary.Records do
q =
from r in Record,
order_by: r.artists[0]["sort_name"],
order_by: [r.artists[0]["sort_name"], r.title],
limit: ^limit,
offset: ^offset