Selaa lähdekoodia

HUE-1792 [search] Error when combining a field and grahpical facets

Fixed encoding issue
Enrico Berti 12 vuotta sitten
vanhempi
commit
d3f66b4038
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      apps/search/src/search/templates/search.mako

+ 1 - 1
apps/search/src/search/templates/search.mako

@@ -540,7 +540,7 @@ ${ commonheader(_('Search'), "search", user, "90px") | n,unicode }
         return _newPieces.join("|");
       }
       else {
-        return decodeURIComponent(existing) + "|" + currentField + currentValue;
+        return $("<span>").html(existing).text() + "|" + currentField + currentValue;
       }
     }