Skip to content
Snippets Groups Projects
Commit 6eb13b3e authored by Tatiana Kiseleva's avatar Tatiana Kiseleva Committed by Christian Adamski
Browse files

Issue #2957371 by kiseleva.t: Indexed geofield not recognized

parent 72378ec3
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class Geofield extends DataProviderBase implements DataProviderInterface {
public function isViewsGeoOption(FieldPluginBase $views_field) {
if (
$views_field instanceof EntityField
&& $views_field->getPluginId() == 'field'
&& in_array($views_field->getPluginId(), ['field', 'search_api_field'])
) {
$field_storage_definitions = $this->entityFieldManager->getFieldStorageDefinitions($views_field->getEntityType());
if (!empty($field_storage_definitions[$views_field->field])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment