From 7c16dac189574a554b2550cb3c86d0dde6f23a53 Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Fri, 10 Feb 2017 17:07:56 -0800 Subject: [PATCH] changing URL to 'groups' instead of 'hosts' for CopyMoveHosts --- .../src/inventories/manage/copy-move/copy-move.route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/inventories/manage/copy-move/copy-move.route.js b/awx/ui/client/src/inventories/manage/copy-move/copy-move.route.js index c80d9b0591..deff0cf0ef 100644 --- a/awx/ui/client/src/inventories/manage/copy-move/copy-move.route.js +++ b/awx/ui/client/src/inventories/manage/copy-move/copy-move.route.js @@ -67,7 +67,7 @@ var copyMoveHostRoute = { resolve: { Dataset: ['CopyMoveGroupList', 'QuerySet', '$stateParams', 'GetBasePath', function(list, qs, $stateParams, GetBasePath) { - let path = GetBasePath('inventory') + $stateParams.inventory_id + '/hosts/'; + let path = GetBasePath('inventory') + $stateParams.inventory_id + '/groups/'; return qs.search(path, $stateParams.copy_search); } ], @@ -83,7 +83,7 @@ var copyMoveHostRoute = { 'copyMoveList@inventoryManage.copyMoveHost': { templateProvider: function(CopyMoveGroupList, generateList, $stateParams, GetBasePath) { let list = CopyMoveGroupList; - list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/hosts/'; + list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/groups/'; let html = generateList.build({ list: CopyMoveGroupList, mode: 'lookup',