This commit is contained in:
lesion 2023-04-14 21:54:16 +02:00
parent 3068c5b5fe
commit 481b5c1eb5
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 2 additions and 2 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, reverse: true, start: 0 })
const events = await eventController._select({ places: String(place.id), show_recurrent: true, show_multidate: true, reverse: true, start: 0 })
switch (format) {
case 'rss':

View file

@ -33,7 +33,7 @@ module.exports = {
const eventController = require('./event')
const format = req.params.format || 'json'
const tags = req.params.tag
const events = await eventController._select({ tags: tags.toLocaleLowerCase(), show_recurrent: true, start: 0, reverse: true })
const events = await eventController._select({ tags: tags.toLocaleLowerCase(), show_recurrent: true, show_multidate: true, start: 0, reverse: true })
switch (format) {
case 'rss':
return exportController.feed(req, res, events,