mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
allow basepath to contain query parameter when adding search tags
This commit is contained in:
parent
18e3552c86
commit
4c1b25ea58
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user