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
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

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