Stopgap sort order + cleanup
This commit is contained in:
parent
30f8e89c40
commit
84cf7817bb
5 changed files with 14 additions and 11 deletions
|
@ -7,12 +7,12 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
setupController: function(controller, model) {
|
||||
var tableAttrs = [
|
||||
{ name: 'Name', attr: 'fullName' },
|
||||
{ name: 'Name', attr: 'fullNameMU' },
|
||||
{ name: 'Total Measurements', attr: 'totalMeasurements' }
|
||||
];
|
||||
controller.set('model', model);
|
||||
controller.set('tableAttrs', tableAttrs);
|
||||
controller.set('row', 'strain-index-row');
|
||||
controller.set('sort', ['fullName']);
|
||||
controller.set('sort', ['fullNameMU']);
|
||||
},
|
||||
});
|
||||
|
|
Reference in a new issue