Skip to content

Commit

Permalink
arrange unschedule seesion based on their event-time (#3791)
Browse files Browse the repository at this point in the history
arrange unschedule session based on their corresponding event
  • Loading branch information
maze-runnar authored and abhinavk96 committed Jan 17, 2020
1 parent 7110e11 commit 4f99c25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/routes/my-sessions/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ export default Route.extend(AuthenticatedRouteMixin, {
name : 'ends-at',
op : 'eq',
val : null
},
{
name : 'event',
op : 'has',
val : {
name : 'starts-at',
op : 'ge',
val : moment().toISOString()
}
}
]
}
Expand Down

0 comments on commit 4f99c25

Please sign in to comment.