diff --git a/app/pods/characteristics/controller.js b/app/pods/characteristics/controller.js index ae686a9..88d2200 100644 --- a/app/pods/characteristics/controller.js +++ b/app/pods/characteristics/controller.js @@ -1,6 +1,6 @@ import Ember from 'ember'; export default Ember.Controller.extend({ - sortParams: ['characteristicType.characteristicTypeName', 'characteristicName'], + sortParams: ['characteristicType.characteristicTypeName', 'sortOrder'], sortedCharacteristics: Ember.computed.sort('characteristics', 'sortParams'), }); diff --git a/app/pods/characteristics/template.hbs b/app/pods/characteristics/template.hbs index 63f40a4..cc21bab 100644 --- a/app/pods/characteristics/template.hbs +++ b/app/pods/characteristics/template.hbs @@ -6,6 +6,7 @@ Name Type + Sort Order @@ -13,6 +14,7 @@ {{row.characteristicName}} {{row.characteristicType.characteristicTypeName}} + {{row.sortOrder}} {{/each}}