@@ -9,7 +9,7 @@ defmodule MusicLibrary.RecordSets do
|
||||
limit = Keyword.get(opts, :limit, 20)
|
||||
|
||||
from(rs in RecordSet,
|
||||
order_by: [asc: rs.name],
|
||||
order_by: [desc: rs.updated_at],
|
||||
offset: ^offset,
|
||||
limit: ^limit,
|
||||
preload: [items: :record]
|
||||
|
||||
Reference in New Issue
Block a user