Commit ec240cc3 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use correct function to get composer name for solr indexer

parent 7e32f1b1
Pipeline #4540 passed with stages
in 7 minutes
......@@ -106,7 +106,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$document->setField('composerName_stringS', '');
if ($extension->getComposerName()) {
$document->setField('supportsComposer_boolS', true);
$document->setField('composerName_stringS', $extension->getLastVersion()->getComposerName());
$document->setField('composerName_stringS', $extension->getComposerName());
// does this extension supports different versions?
Supports Markdown
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