Sorted performer and performance queries.

This commit is contained in:
codevictory
2021-04-28 21:30:23 +03:00
parent 607ae59589
commit 449bb999ff
4 changed files with 28 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ defmodule RunosaariWeb.PerformanceController do
alias Runosaari.Schedule.Performance
def index(conn, _params) do
performances = Schedule.list_performances()
performances = Schedule.list_sorted_performances()
render(conn, "index.html", performances: performances)
end