Created
December 21, 2016 21:40
-
-
Save elchele/22a0b863070333f48222a0ae33a39636 to your computer and use it in GitHub Desktop.
Custom controller for selection-list view, defines sorting on Assigned To list of users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* 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