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