From 76424425b229b85133e3aab883fa1101c88c13da Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 17 Jul 2018 17:30:44 -0400 Subject: [PATCH] fix issue where unicode based search terms couldn't be removed --- awx/ui/client/src/shared/smart-search/queryset.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cb0b6087fc..5d860a55fa 100644 --- a/awx/ui/client/src/shared/smart-search/queryset.service.js +++ b/awx/ui/client/src/shared/smart-search/queryset.service.js @@ -441,7 +441,7 @@ function QuerysetService ($q, Rest, ProcessErrors, $rootScope, Wait, DjangoSearc searchParamParts[paramPartIndex] = decodeURIComponent(paramPart); }); - const paramPartIndex = searchParamParts.indexOf(value); + const paramPartIndex = searchParamParts.indexOf(decodeURIComponent(value)); if (paramPartIndex !== -1) { searchParamParts.splice(paramPartIndex, 1);