Archive page

This commit is contained in:
2022-05-04 00:51:29 +03:00
parent 1a292afa57
commit 3be2ea0b88
10 changed files with 58 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ defmodule Runosaari.Schedule do
"""
def list_sorted_performances do
Repo.all(Performance |> order_by(:seqnum))
Repo.all(Performance |> where([p], not is_nil(p.seqnum)) |> order_by(:seqnum))
end
@doc """