remove organization lookup from inventory script query

This commit is contained in:
John Mitchell 2015-10-12 23:41:21 -04:00
parent 1969559ee1
commit 2f23b5c113

View File

@ -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,