Sort dir listings by item name

This commit is contained in:
Basti 2017-11-12 18:17:12 +01:00
parent 1f94c59261
commit e6ba3644c4

View File

@ -16,7 +16,7 @@ export default Controller.extend({
currentListing: function() {
if (isPresent(this.get('model'))) {
return this.get('model');
return this.get('model').sortBy('name');
}
if (!this.get('categories')) { return null; }