mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Merge pull request #336 from mabashian/7523-search-spaces
Re-included logic for stripping out quotes from search value that was inadvertently removed
This commit is contained in:
@@ -59,6 +59,10 @@ export default ['$q', 'Rest', 'ProcessErrors', '$rootScope', 'Wait', 'DjangoSear
|
|||||||
return concated;
|
return concated;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if(value && typeof value === 'string') {
|
||||||
|
value = decodeURIComponent(value).replace(/"|'/g, "");
|
||||||
|
}
|
||||||
|
|
||||||
return `${key}=${value}&`;
|
return `${key}=${value}&`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user