Skip to content

Commit 4e66224

Browse files
change name of field
1 parent a7f059e commit 4e66224

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/controllers/admin/sales/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import EmberTableControllerMixin from 'open-event-frontend/mixins/ember-table-co
66
export default class IndexController extends Controller.extend(AdminSalesMixin, EmberTableControllerMixin) {
77

88
@or('authManager.currentUser.isSuperAdmin', 'authManager.currentUser.isAdmin') hasRestorePrivileges;
9-
sort_by = 'rough-sales';
9+
sort_by = 'total-sales';
1010
sort_dir = 'DSC';
11+
per_page = 10;
1112
get columns() {
1213
return [
1314
{

app/models/admin-sales-by-event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default ModelBase.extend({
88
endsAt : attr('moment'),
99
startsAt : attr('moment'),
1010
paymentCurrency : attr('string'),
11-
roughSales : attr('number'),
11+
totalSales : attr('number'),
1212
sales : attr(),
1313
ownerId : attr()
1414
});

0 commit comments

Comments
 (0)