mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
parent
9965ec01be
commit
5c32b17aea
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user