fix upcoming events filter

This commit is contained in:
2023-06-02 20:44:42 +10:00
parent 0de6735855
commit 3677f1c45b

View File

@@ -211,11 +211,10 @@ const handleLoad = async () => {
url: "/events",
params: {
limit: 4,
status: "open,soon",
sort: "start_at",
start_at:
">" +
new SMDate("now").format("yyyy-MM-dd hh:mm:ss"),
filter: `(status:open,OR,status:soon),AND,start_at:>${new SMDate(
"now"
).format("yyyy-MM-dd hh:mm:ss")}`,
},
})
.then((eventsResult) => {