Inventory variables now working

This commit is contained in:
chouseknecht
2013-06-20 15:20:52 -04:00
parent 4da0beb6e7
commit b511b08014
4 changed files with 144 additions and 54 deletions

View File

@@ -229,6 +229,7 @@ angular.module('InventoryHelper', [ 'RestServices', 'Utilities', 'OrganizationLi
// Load the tree view
scope.TreeParams = { scope: scope, inventory: data };
scope.variable_url = data.related.variable_data;
scope.relatedSets['hosts'] = { url: data.related.hosts, iterator: 'host' };
RelatedSearchInit({ scope: scope, form: form, relatedSets: scope.relatedSets });
RelatedPaginateInit({ scope: scope, relatedSets: scope.relatedSets });