GUACAMOLE-624: Include user full name and organization in filtered attributes.

This commit is contained in:
Michael Jumper
2018-09-21 14:14:57 -07:00
parent 660fe82fff
commit d4a9208c2b

View File

@@ -88,6 +88,8 @@ angular.module('settings').directive('guacSettingsUsers', [function guacSettings
* @type String[] * @type String[]
*/ */
$scope.filteredUserProperties = [ $scope.filteredUserProperties = [
'user.attributes["guac-full-name"]',
'user.attributes["guac-organization"]',
'user.lastActive', 'user.lastActive',
'user.username' 'user.username'
]; ];
@@ -107,7 +109,9 @@ angular.module('settings').directive('guacSettingsUsers', [function guacSettings
*/ */
$scope.order = new SortOrder([ $scope.order = new SortOrder([
'user.username', 'user.username',
'-user.lastActive' '-user.lastActive',
'user.attributes["guac-organization"]',
'user.attributes["guac-full-name"]'
]); ]);
// Get session date format // Get session date format