Fixed sort order in strains list

This commit is contained in:
Matthew Dillon 2015-09-03 08:41:17 -07:00
parent 391b15cf92
commit 1ee73a342e

View file

@ -1,6 +1,6 @@
import Ember from 'ember'; import Ember from 'ember';
export default Ember.Controller.extend({ export default Ember.Controller.extend({
sortParams: ['fullNameMU', 'totalMeasurements'], sortParams: ['sortOrder'],
sortedStrains: Ember.computed.sort('model', 'sortParams'), sortedStrains: Ember.computed.sort('model', 'sortParams'),
}); });