From 78b132580b6ed1af4d6456cb6d69b3e068a92330 Mon Sep 17 00:00:00 2001 From: mabashian Date: Fri, 25 Aug 2017 09:50:58 -0400 Subject: [PATCH] Re-included logic for stripping out quotes from search value that was inadvertently removed --- awx/ui/client/src/shared/smart-search/queryset.service.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui/client/src/shared/smart-search/queryset.service.js b/awx/ui/client/src/shared/smart-search/queryset.service.js index ec54dfd4c7..254965a8c1 100644 --- a/awx/ui/client/src/shared/smart-search/queryset.service.js +++ b/awx/ui/client/src/shared/smart-search/queryset.service.js @@ -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}&`; } }