1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Re-included logic for stripping out quotes from search value that was inadvertently removed

This commit is contained in:
mabashian 2017-08-25 09:50:58 -04:00
parent d1503e974b
commit 78b132580b

View File

@ -59,6 +59,10 @@ export default ['$q', 'Rest', 'ProcessErrors', '$rootScope', 'Wait', 'DjangoSear
return concated;
}
else {
if(value && typeof value === 'string') {
value = decodeURIComponent(value).replace(/"|'/g, "");
}
return `${key}=${value}&`;
}
}