Fix: order the fetched events for the ICS feed DESC by "beings_on"

#37
This commit is contained in:
summersamara 2023-12-19 23:55:34 +01:00
parent 00c408a502
commit 5fb5897c34

View file

@ -394,7 +394,8 @@ defmodule Mobilizon.Events do
|> filter_draft() |> filter_draft()
|> filter_local() |> filter_local()
|> preload_for_event() |> preload_for_event()
|> Page.build_page(page, limit) |> order_by(desc: :begins_on)
|> Page.build_page(page, limit, :begins_on)
end end
@doc """ @doc """