mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
allow basepath to contain query parameter when adding search tags
This commit is contained in:
@@ -162,7 +162,10 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu
|
||||
tags = relatedTags.concat(nonRelatedTags);
|
||||
}
|
||||
|
||||
return basePath + "?" +
|
||||
var returnedUrl = basePath;
|
||||
returnedUrl += (basePath.indexOf("?") > - 1) ? "&" : "?";
|
||||
|
||||
return returnedUrl +
|
||||
(tags || []).map(function (t) {
|
||||
return t.url;
|
||||
}).join("&") + "&page_size=" + pageSize;
|
||||
|
||||
Reference in New Issue
Block a user