forked from potsda.mn/mobilizon
Fix: order the fetched events for the ICS feed DESC by "beings_on"
potsda.mn/mobilizon#37
This commit is contained in:
parent
00c408a502
commit
5fb5897c34
|
@ -394,7 +394,8 @@ defmodule Mobilizon.Events do
|
|||
|> filter_draft()
|
||||
|> filter_local()
|
||||
|> preload_for_event()
|
||||
|> Page.build_page(page, limit)
|
||||
|> order_by(desc: :begins_on)
|
||||
|> Page.build_page(page, limit, :begins_on)
|
||||
end
|
||||
|
||||
@doc """
|
||||
|
|
Loading…
Reference in a new issue