Sort records by artist, then title
This commit is contained in:
@@ -10,7 +10,7 @@ defmodule MusicLibrary.Records do
|
|||||||
|
|
||||||
q =
|
q =
|
||||||
from r in Record,
|
from r in Record,
|
||||||
order_by: r.artists[0]["sort_name"],
|
order_by: [r.artists[0]["sort_name"], r.title],
|
||||||
limit: ^limit,
|
limit: ^limit,
|
||||||
offset: ^offset
|
offset: ^offset
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user