Skip to content

Commit 4f99c25

Browse files
maze-runnarabhinavk96
authored andcommitted
arrange unschedule seesion based on their event-time (#3791)
arrange unschedule session based on their corresponding event
1 parent 7110e11 commit 4f99c25

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/routes/my-sessions/list.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ export default Route.extend(AuthenticatedRouteMixin, {
3434
name : 'ends-at',
3535
op : 'eq',
3636
val : null
37+
},
38+
{
39+
name : 'event',
40+
op : 'has',
41+
val : {
42+
name : 'starts-at',
43+
op : 'ge',
44+
val : moment().toISOString()
45+
}
3746
}
3847
]
3948
}

0 commit comments

Comments
 (0)