mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
FIX Double escape namespace separators in class names when excluding fields
This commit is contained in:
parent
3e491088b5
commit
7ae7f704ce
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user