From 2f23b5c113bdbae99a3db5e769ff5ac7c18e5a2d Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 12 Oct 2015 23:41:21 -0400 Subject: [PATCH] remove organization lookup from inventory script query --- awx/ui/client/src/helpers/Groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/helpers/Groups.js b/awx/ui/client/src/helpers/Groups.js index 770c848a18..68d2cf5652 100644 --- a/awx/ui/client/src/helpers/Groups.js +++ b/awx/ui/client/src/helpers/Groups.js @@ -286,7 +286,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name } if(scope.source.value==="custom"){ // 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({ url: invUrl, scope: scope,