fix upcoming events filter
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user