From d7478117e6e9e5cb3bbcda5f076cb05d81ffbac3 Mon Sep 17 00:00:00 2001 From: Areeb Jamal Date: Wed, 4 Mar 2020 05:34:30 +0530 Subject: [PATCH] fix: Expand unscheduled sessions criteria (#4177) --- app/routes/events/view/scheduler.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/routes/events/view/scheduler.js b/app/routes/events/view/scheduler.js index 7e70701c874..7147a8dfd92 100644 --- a/app/routes/events/view/scheduler.js +++ b/app/routes/events/view/scheduler.js @@ -13,14 +13,18 @@ export default Route.extend({ { and: [ { - name : 'starts-at', - op : 'eq', - val : null - }, - { - name : 'ends-at', - op : 'eq', - val : null + or: [ + { + name : 'starts-at', + op : 'eq', + val : null + }, + { + name : 'ends-at', + op : 'eq', + val : null + } + ] }, { or: [