Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Custom controller for selection-list view, defines sorting on Assigned To list of users
({
/* File: ./custom/modules/Users/clients/base/views/selection-list/selection-list.js */
extendsFrom: 'SelectionListView',
initialize: function(options){
this._super('initialize', [options]);
this.collection.orderBy = {'field':'full_name', 'direction':'asc'};
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment