Stopgap sort order + cleanup

This commit is contained in:
Matthew Dillon 2015-06-17 16:24:10 -08:00
parent 30f8e89c40
commit 84cf7817bb
5 changed files with 14 additions and 11 deletions

View file

@ -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']);
},
});