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", url: "/events",
params: { params: {
limit: 4, limit: 4,
status: "open,soon",
sort: "start_at", sort: "start_at",
start_at: filter: `(status:open,OR,status:soon),AND,start_at:>${new SMDate(
">" + "now"
new SMDate("now").format("yyyy-MM-dd hh:mm:ss"), ).format("yyyy-MM-dd hh:mm:ss")}`,
}, },
}) })
.then((eventsResult) => { .then((eventsResult) => {