From 57a4d60d587fef378a871b78dd2c98388944097a Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Tue, 14 Feb 2017 10:14:32 -0500 Subject: [PATCH] Tweaked org job templates list query params --- .../organizations/linkout/organizations-linkout.route.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js b/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js index ca98e3b388..da1b2eb3ca 100644 --- a/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js +++ b/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js @@ -234,7 +234,8 @@ export default [{ params: { template_search: { value: { - project__organization: null + or__project__organization: null, + or__inventory__organization: null } } }, @@ -279,7 +280,8 @@ export default [{ OrgJobTemplateDataset: ['OrgJobTemplateList', 'QuerySet', '$stateParams', 'GetBasePath', function(list, qs, $stateParams, GetBasePath) { let path = GetBasePath(list.name); - $stateParams.template_search.project__organization = $stateParams.organization_id; + $stateParams.template_search.or__project__organization = $stateParams.organization_id; + $stateParams.template_search.or__inventory__organization = $stateParams.organization_id; return qs.search(path, $stateParams.template_search); } ]