fix issue where unicode based search terms couldn't be removed

This commit is contained in:
John Mitchell
2018-07-17 17:30:44 -04:00
parent e3cb531180
commit 76424425b2

View File

@@ -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);