mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #189 from creative-commoners/pulls/3.0/namespaced-classes-in-exclude
FIX Double escape namespace separators in class names when excluding fields
This commit is contained in:
commit
16a5643d1b
@ -941,7 +941,10 @@ abstract class SolrIndex extends SearchIndex
|
||||
{
|
||||
$fq = array();
|
||||
foreach ($searchQuery->exclude as $field => $values) {
|
||||
$excludeq = array();
|
||||
// Handle namespaced class names
|
||||
$field = $this->sanitiseClassName($field);
|
||||
|
||||
$excludeq = [];
|
||||
$missing = false;
|
||||
|
||||
foreach ($values as $value) {
|
||||
|
Loading…
Reference in New Issue
Block a user