feat(front): enable search long events, default sort by date
This commit is contained in:
parent
6e141decfe
commit
117d7f419c
|
@ -36,7 +36,7 @@ config :mobilizon, :instance,
|
|||
unconfirmed_user_grace_period_hours: 48,
|
||||
activity_expire_days: 365,
|
||||
activity_keep_number: 100,
|
||||
duration_of_long_event: 0,
|
||||
duration_of_long_event: 30,
|
||||
enable_instance_feeds: true,
|
||||
email_from: "noreply@localhost",
|
||||
email_reply_to: "noreply@localhost"
|
||||
|
|
|
@ -941,7 +941,7 @@ const searchTarget = useRouteQuery(
|
|||
const mode = useRouteQuery("mode", ViewMode.LIST, enumTransformer(ViewMode));
|
||||
const sortBy = useRouteQuery(
|
||||
"sortBy",
|
||||
SortValues.MATCH_DESC,
|
||||
SortValues.START_TIME_ASC,
|
||||
enumTransformer(SortValues)
|
||||
);
|
||||
const bbox = useRouteQuery("bbox", undefined);
|
||||
|
|
Loading…
Reference in New Issue