Fix events query

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-12-17 16:57:55 +01:00
parent ac8a487327
commit 5e7bcc44df
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -365,7 +365,7 @@ defmodule Mobilizon.Events do
|> filter_public_visibility() |> filter_public_visibility()
|> filter_draft() |> filter_draft()
|> filter_local_or_from_followed_instances_events() |> filter_local_or_from_followed_instances_events()
|> Page.build_page(page, limit, :begins_on) |> Page.build_page(page, limit, sort)
end end
@spec stream_events_for_sitemap :: Enum.t() @spec stream_events_for_sitemap :: Enum.t()