Skip to content

Commit

Permalink
Fix-9127: Add the unique ticket code into the downlad CSV file (#9185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieu Lam - TMA authored Mar 26, 2024
1 parent 849e964 commit e6f8b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 0 additions & 7 deletions app/controllers/events/view/tickets/attendees/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
headerComponent : 'tables/headers/sort',
isSortable : true
},
{
name : 'Ticket Name',
width : 80,
valuePath : 'ticket.name',
headerComponent : 'tables/headers/sort',
isSortable : true
},
{
name : 'Tags',
width : 100,
Expand Down
6 changes: 4 additions & 2 deletions app/routes/events/view/tickets/attendees/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class extends Route.extend(EmberTableRouteMixin) {


let queryString = {
include : 'user,order',
include : 'user,ticket',
filter : filterOptions,
'page[size]' : params.per_page,
'page[number]' : params.page || 1
Expand All @@ -134,9 +134,11 @@ export default class extends Route.extend(EmberTableRouteMixin) {
this.addDefaultValue(tags);
}
const attendees = await this.asArray(await eventDetails.query('attendees', queryString));
const orders = await this.asArray(await eventDetails.query('orders', {}));
return {
tags,
attendees
attendees,
orders
};
}
}

0 comments on commit e6f8b09

Please sign in to comment.