PHRAS-2805 #comment Port41 of Facet-case-sensibility

This commit is contained in:
Harrys Ravalomanana
2019-11-14 15:02:04 +04:00
parent e4516644c4
commit 5e4da5f28f
5 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,11 @@ namespace Alchemy\Phrasea\SearchEngine\Elastic\Search;
class Escaper
{
public function quoteWord($value)
{
return '"' . $this->escapeRaw($value) . '"';
}
public function escapeWord($value)
{
// Strip double quotes from values to prevent broken queries