mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
remove organization lookup from inventory script query
This commit is contained in:
@@ -286,7 +286,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
|||||||
}
|
}
|
||||||
if(scope.source.value==="custom"){
|
if(scope.source.value==="custom"){
|
||||||
// need to filter the possible custom scripts by the organization defined for the current inventory
|
// need to filter the possible custom scripts by the organization defined for the current inventory
|
||||||
invUrl = GetBasePath('inventory_scripts') + '?organization='+scope.$parent.inventory.organization;
|
invUrl = GetBasePath('inventory_scripts');
|
||||||
LookUpInit({
|
LookUpInit({
|
||||||
url: invUrl,
|
url: invUrl,
|
||||||
scope: scope,
|
scope: scope,
|
||||||
|
|||||||
Reference in New Issue
Block a user