mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Merge pull request #1625 from mabashian/1621-team-org-list
Fixed team list org sorting
This commit is contained in:
commit
48b0d4445c
@ -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…
Reference in New Issue
Block a user