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

@@ -62,7 +62,7 @@ class FacetsResponse
'value' => $key,
'raw_value' => $key,
'count' => $bucket['doc_count'],
'query' => sprintf('field.%s:%s', $this->escaper->escapeWord($name), $this->escaper->escapeWord($key))
'query' => sprintf('field.%s=%s', $this->escaper->escapeWord($name), $this->escaper->quoteWord($key))
];
}