Sort group events by asc: begins_on
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c2987beb31
commit
7657cadbbd
@ -1276,7 +1276,7 @@ defmodule Mobilizon.Events do
|
||||
from(
|
||||
e in Event,
|
||||
where: e.attributed_to_id == ^group_id,
|
||||
order_by: [desc: :id]
|
||||
order_by: [asc: :begins_on]
|
||||
)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user