This commit is contained in:
lesion
2023-03-28 19:04:41 +02:00
parent 6b55ba1708
commit d7c8de7580
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ module.exports = {
const format = req.params.format || 'json'
log.debug(`Events for place: ${placeName}`)
const events = await eventController._select({ places: String(place.id), show_recurrent: true, older: true })
const events = await eventController._select({ places: String(place.id), show_recurrent: true, reverse: true, start_datetime: 0 })
switch (format) {
case 'rss':