mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Fixed team list org sorting
This commit is contained in:
parent
7781667977
commit
f8a9402d4b
@ -28,9 +28,6 @@ export default ['$scope', 'Rest', 'TeamList', 'Prompt',
|
||||
$scope.list = list;
|
||||
$scope[`${list.iterator}_dataset`] = Dataset.data;
|
||||
$scope[list.name] = $scope[`${list.iterator}_dataset`].results;
|
||||
_.forEach($scope[list.name], (team) => {
|
||||
team.organization_name = team.summary_fields.organization.name;
|
||||
});
|
||||
|
||||
$scope.selected = [];
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ export default ['i18n', function(i18n) {
|
||||
},
|
||||
organization: {
|
||||
label: i18n._('Organization'),
|
||||
ngBind: 'team.organization_name',
|
||||
ngBind: 'team.summary_fields.organization.name',
|
||||
sourceModel: 'organization',
|
||||
sourceField: 'name',
|
||||
columnClass: 'col-md-3 hidden-sm hidden-xs',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user