Commit 736db803 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen

Merge branch...

Merge branch '379-add-count-of-likes-into-solr-documents-to-have-the-possibility-to-order-results' into 'develop'

Add likes to solr index

Closes #379

See merge request !400
parents 5843e185 e950f1fd
Pipeline #6302 failed with stages
in 5 minutes and 59 seconds
......@@ -130,6 +130,9 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$extensionIcon = $this->getExtensionIcon($itemRecord['ext_key'], $extension->getLastVersion()->getVersionString());
$document->setField('extensionIcon_stringS', $extensionIcon);
// add extension likes count
$document->setField('likes_intS', $extension->getLikes());
// add documentation link
/** @var \T3o\TerFe2\Service\DocumentationService $documentationService */
$documentationService = GeneralUtility::makeInstance(\T3o\TerFe2\Service\DocumentationService::class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment