Skip to content

Commit

Permalink
reduce-events
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchauhan2889 committed Nov 21, 2020
1 parent 7c4f3e8 commit 0944b91
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,19 +229,21 @@ export default class IndexRoute extends Route {

return hash({
filteredEvents: this.store.query('event', {
upcoming : true,
include : 'event-topic,event-sub-topic,event-type,speakers-call'
upcoming : true,
include : 'event-topic,event-sub-topic,event-type,speakers-call',
'page[size]' : 12
}),
featuredEvents: this.store.query('event', {
sort : 'starts-at',
include : 'event-topic,event-sub-topic,event-type,speakers-call',
filter : filterOptions
sort : 'starts-at',
include : 'event-topic,event-sub-topic,event-type,speakers-call',
filter : filterOptions,
'page[size]' : 6
}),
callForSpeakersEvents: this.store.query('event', {
sort : 'starts-at',
include : 'event-topic,event-sub-topic,event-type,speakers-call',
filter : callForSpeakersFilter,
'page[size]' : 12
'page[size]' : 6
})
});
}
Expand Down

0 comments on commit 0944b91

Please sign in to comment.