Skip to content

Commit

Permalink
fix #8965 set no paginaton for tickets to override default server (#8966
Browse files Browse the repository at this point in the history
)

* set page size of 50 tickets to override default server

* set unlimited

* remove pagination
  • Loading branch information
cweitat authored Jul 17, 2023
1 parent 35b4d99 commit 87c7529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/routes/events/view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export default class extends Route.extend(EmberTableRouteMixin) {
const socialLinksPromise = eventDetails.query('socialLinks', {});
const statisticsPromise = eventDetails.query('generalStatistics', {});
const orderStatPromise = eventDetails.query('orderStatistics', {});
const ticketsPromise = eventDetails.query('tickets', {});
const ticketsPromise = eventDetails.query('tickets', {
'page[size]' : 0
});

const [sponsors, roleInvites, sessionTypes, tracks, microlocations, speakersCall, socialLinks,
statistics, orderStat, tickets, usersEventsRoles] = (await allSettled([sponsorsPromise, roleInvitesPromise, sessionTypesPromise, tracksPromise, microlocationsPromise, speakersCallPromise, socialLinksPromise,
Expand Down
3 changes: 2 additions & 1 deletion app/routes/public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default class IndexRoute extends Route {
}
],
cache : true,
public : true
public : true,
'page[size]' : 0
});
const featuredSpeakersPromise = event.query('speakers', {
filter: [
Expand Down

1 comment on commit 87c7529

@vercel
Copy link

@vercel vercel bot commented on 87c7529 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.