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:
Michael Abashian 2017-08-28 10:05:34 -04:00 committed by GitHub
commit 3b2149f252

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}&`;
}
}