mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Merge pull request #1999 from jaredevantabor/fix-1927
Fixes URL used for root groups for pagination purposes
This commit is contained in:
commit
e2d3a7be26
@ -54,7 +54,7 @@ export default {
|
||||
}
|
||||
else {
|
||||
//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({
|
||||
|
||||
@ -52,8 +52,8 @@
|
||||
var url = GetBasePath('groups') + id + '/children';
|
||||
return url;
|
||||
},
|
||||
rootGroupsUrl: function(id){
|
||||
var url = GetBasePath('inventory') + id+ '/root_groups';
|
||||
groupsUrl: function(id){
|
||||
var url = GetBasePath('inventory') + id+ '/groups';
|
||||
return url;
|
||||
},
|
||||
inventorySourcesOptions: function(inventoryId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user