fix(search): Fix event search order

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-04-26 16:33:11 +02:00
parent 4375438dc9
commit a4e7ee37be
5 changed files with 65 additions and 28 deletions

View File

@@ -17,6 +17,7 @@ defmodule Mobilizon.Service.GlobalSearch.SearchMobilizon do
@sort_by_options %{
match_desc: "-match",
start_time_asc: "startTime",
start_time_desc: "-startTime",
created_at_desc: "-createdAt",
created_at_asc: "createdAt",