diff --git a/app/pods/protected/characteristics/controller.js b/app/pods/protected/characteristics/controller.js index d1d9ed1..be9f042 100644 --- a/app/pods/protected/characteristics/controller.js +++ b/app/pods/protected/characteristics/controller.js @@ -1,6 +1,6 @@ import Ember from 'ember'; export default Ember.Controller.extend({ - sortParams: ['characteristicType.characteristicTypeName', 'sortOrder'], + sortParams: ['characteristicTypeName', 'sortOrder'], sortedCharacteristics: Ember.computed.sort('model', 'sortParams'), }); diff --git a/app/pods/protected/characteristics/template.hbs b/app/pods/protected/characteristics/template.hbs index b9bd848..a599cbd 100644 --- a/app/pods/protected/characteristics/template.hbs +++ b/app/pods/protected/characteristics/template.hbs @@ -13,7 +13,7 @@ {{#each sortedCharacteristics as |row|}}