fix ics and rss export with filters

This commit is contained in:
lesion
2019-02-26 12:37:51 +01:00
parent f40184a5a3
commit e5f2e2eeda
11 changed files with 108 additions and 43 deletions

View File

@@ -49,7 +49,7 @@ const eventController = {
{ start_datetime: { [Sequelize.Op.lte]: end } }
]
},
order: [['createdAt', 'ASC']],
order: [['start_datetime', 'ASC']],
include: [User, Comment, Tag, Place]
})
res.json(events)