Merge pull request #2573 from jlmitch5/fixEmojiRemoval

fix issue where unicode based search terms couldn't be removed
This commit is contained in:
John Mitchell
2018-07-18 16:39:07 -04:00
committed by GitHub

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