feat(front): enable search long events, default sort by date

This commit is contained in:
setop 2024-03-17 23:04:09 +01:00
parent 6e141decfe
commit 117d7f419c
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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);