Remove sequence number from performer.

This commit is contained in:
codevictory
2021-06-02 19:58:29 +03:00
parent 2f912e6153
commit 4fed654c2d
7 changed files with 16 additions and 20 deletions

View File

@@ -22,7 +22,7 @@ defmodule Runosaari.Registration do
end
@doc """
Returns the :seqnum sorted list of confirmed performers.
Returns the :name sorted list of confirmed performers.
## Examples
@@ -33,7 +33,7 @@ defmodule Runosaari.Registration do
def list_sorted_confirmed_performers do
Performer
|> where([p], p.confirmed == true)
|> order_by(:seqnum)
|> order_by(:name)
|> Repo.all()
end