mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
Merge pull request #1999 from jaredevantabor/fix-1927
Fixes URL used for root groups for pagination purposes
This commit is contained in:
@@ -54,7 +54,7 @@ export default {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//reaches here if the user is on the root level group
|
//reaches here if the user is on the root level group
|
||||||
list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/root_groups';
|
list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/groups';
|
||||||
}
|
}
|
||||||
|
|
||||||
let html = generateList.build({
|
let html = generateList.build({
|
||||||
|
|||||||
@@ -52,8 +52,8 @@
|
|||||||
var url = GetBasePath('groups') + id + '/children';
|
var url = GetBasePath('groups') + id + '/children';
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
rootGroupsUrl: function(id){
|
groupsUrl: function(id){
|
||||||
var url = GetBasePath('inventory') + id+ '/root_groups';
|
var url = GetBasePath('inventory') + id+ '/groups';
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
inventorySourcesOptions: function(inventoryId) {
|
inventorySourcesOptions: function(inventoryId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user