mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
minor on next/prev recurrent event
This commit is contained in:
parent
7ac37e0a12
commit
4ed519295e
1 changed files with 2 additions and 2 deletions
|
@ -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']]
|
||||
|
|
Loading…
Reference in a new issue