Verified Commit 9dfe15ac authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix sorting order of past event posters on frontpage

parent 37393b44
Pipeline #58438 passed with stages
in 11 minutes and 3 seconds
......@@ -27,12 +27,12 @@ const lists = {
useQuery: false,
createBaseQuery: now => ({
max_results: 6,
sort: ['-priority', '-time_advertising_start'],
sort: ['-time_start', '-time_advertising_start'],
where: {
show_website: true,
time_start: { $lt: now },
time_advertising_start: { $lt: now },
img_poster: { $ne: null },
$or: [{ time_start: null }, { time_start: { $lt: now } }],
},
}),
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment