mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
@@ -182,7 +182,7 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu
|
||||
this.getTag = function(field, textVal, selectVal) {
|
||||
var tag = _.clone(field);
|
||||
if (tag.type === "text") {
|
||||
tag.url = tag.value + "__icontains=" + textVal;
|
||||
tag.url = tag.value + "__icontains=" + encodeURIComponent(textVal);
|
||||
tag.name = textVal;
|
||||
} else if (selectVal.value && typeof selectVal.value === 'string' && selectVal.value.indexOf("=") > 0) {
|
||||
tag.url = selectVal.value;
|
||||
|
||||
Reference in New Issue
Block a user