FIX Double escape namespace separators in class names when excluding fields

This commit is contained in:
Robbie Averill 2017-12-05 16:07:49 +13:00
parent 3e491088b5
commit 7ae7f704ce

View File

@ -941,7 +941,10 @@ abstract class SolrIndex extends SearchIndex
{ {
$fq = array(); $fq = array();
foreach ($searchQuery->exclude as $field => $values) { foreach ($searchQuery->exclude as $field => $values) {
$excludeq = array(); // Handle namespaced class names
$field = $this->sanitiseClassName($field);
$excludeq = [];
$missing = false; $missing = false;
foreach ($values as $value) { foreach ($values as $value) {