minor on next/prev recurrent event
This commit is contained in:
@@ -122,7 +122,7 @@ const eventController = {
|
|||||||
attributes: ['id'],
|
attributes: ['id'],
|
||||||
where: {
|
where: {
|
||||||
is_visible: true,
|
is_visible: true,
|
||||||
parentId: null,
|
recurrent: null,
|
||||||
start_datetime: { [Op.gt]: event.start_datetime }
|
start_datetime: { [Op.gt]: event.start_datetime }
|
||||||
},
|
},
|
||||||
order: [['start_datetime', 'ASC']]
|
order: [['start_datetime', 'ASC']]
|
||||||
@@ -132,7 +132,7 @@ const eventController = {
|
|||||||
attributes: ['id'],
|
attributes: ['id'],
|
||||||
where: {
|
where: {
|
||||||
is_visible: true,
|
is_visible: true,
|
||||||
parentId: null,
|
recurrent: null,
|
||||||
start_datetime: { [Op.lt]: event.start_datetime }
|
start_datetime: { [Op.lt]: event.start_datetime }
|
||||||
},
|
},
|
||||||
order: [['start_datetime', 'DESC']]
|
order: [['start_datetime', 'DESC']]
|
||||||
|
|||||||
Reference in New Issue
Block a user