Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
e950f1fd
Commit
e950f1fd
authored
Feb 13, 2019
by
Thomas Löffler
Browse files
Add likes to solr index
parent
5843e185
Pipeline
#6301
passed with stages
in 5 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/ter_fe2/Classes/Solr/IndexQueue/TerIndexer.php
View file @
e950f1fd
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment