Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-9127: Add the unique ticket code into the downlad CSV file #9185

Merged
merged 1 commit into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
};
}
}
Loading