Merge branch '3.3'

This commit is contained in:
Robbie Averill 2018-06-27 17:01:36 +12:00
commit 3b27de2e57
13 changed files with 36 additions and 35 deletions

View File

@ -105,8 +105,8 @@ class SearchUpdater
'command' => $command,
'fields' => array()
);
// Otherwise update the class label if it's more specific than the currently recorded one
} elseif (is_subclass_of($class, $writes[$key]['class'])) {
// Otherwise update the class label if it's more specific than the currently recorded one
$writes[$key]['class'] = $class;
}

View File

@ -2,6 +2,7 @@
namespace SilverStripe\FullTextSearch\Solr;
use Exception;
use SilverStripe\Control\Director;
use SilverStripe\Core\Environment;
use SilverStripe\FullTextSearch\Search\Indexes\SearchIndex;