import Ember from 'ember';

export default Ember.ArrayController.extend({
    actions: {
      showCreateProject() {
        this.set('showCreateDialog', true);
      },
      startProject() {
        this.set('showCreateDialog', false);
        return true;
      }
    },
    sortProperties: ['purchase.type.name'],
    sortAscending: true
});

import Ember from 'ember';

export default Ember.ArrayController.extend({
    actions: {
      showCreateProject() {
        this.set('showCreateDialog', true);
      },
      startProject() {
        this.set('showCreateDialog', false);
        return true;
      }
    },
    sortProperties: ['type.name'],
    sortAscending: true
});

Fix project list page sorting
Fix project list page sorting
