From 515a7093733fa2468655357594c07ba25ad101de Mon Sep 17 00:00:00 2001 From: xinyuexrow Date: Thu, 23 Nov 2017 16:22:00 +0100 Subject: [PATCH] fix keywords index bug --- classes/ezfSolrDocumentFieldxrowMetadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/ezfSolrDocumentFieldxrowMetadata.php b/classes/ezfSolrDocumentFieldxrowMetadata.php index 696a952..ca63429 100644 --- a/classes/ezfSolrDocumentFieldxrowMetadata.php +++ b/classes/ezfSolrDocumentFieldxrowMetadata.php @@ -51,7 +51,7 @@ public function getData() $data[self::getFieldName( $contentClassAttribute, 'title' )] = $this->ContentObjectAttribute->attribute( 'content' )->attribute( 'title' ); $data[self::getFieldName( $contentClassAttribute, 'description' )] = $this->ContentObjectAttribute->attribute( 'content' )->attribute( 'description' ); $data[self::getFieldName( $contentClassAttribute, 'sitemap_use' )] = $this->ContentObjectAttribute->attribute( 'content' )->attribute( 'sitemap_use' ); - $data[self::getFieldName( $contentClassAttribute, self::DEFAULT_SUBATTRIBUTE )] = implode(",", $this->ContentObjectAttribute->attribute( 'content' )->attribute( 'keywords' ) ); + $data[self::getFieldName( $contentClassAttribute, self::DEFAULT_SUBATTRIBUTE )] = $this->ContentObjectAttribute->attribute( 'content' )->attribute( 'keywords' ); } return $data; }