minor on next/prev recurrent event

This commit is contained in:
les 2020-06-13 23:03:07 +02:00
parent 7ac37e0a12
commit 4ed519295e

View file

@ -122,7 +122,7 @@ const eventController = {
attributes: ['id'],
where: {
is_visible: true,
parentId: null,
recurrent: null,
start_datetime: { [Op.gt]: event.start_datetime }
},
order: [['start_datetime', 'ASC']]
@ -132,7 +132,7 @@ const eventController = {
attributes: ['id'],
where: {
is_visible: true,
parentId: null,
recurrent: null,
start_datetime: { [Op.lt]: event.start_datetime }
},
order: [['start_datetime', 'DESC']]