Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
services
T
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
e2a28666
Commit
e2a28666
authored
Nov 02, 2017
by
Thomas Löffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gets author only if given
parent
d5d84677
Pipeline
#2626
passed with stages
in 3 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
html/typo3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
...o3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
+4
-1
No files found.
html/typo3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
View file @
e2a28666
...
...
@@ -125,7 +125,10 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$document
->
setField
(
'extensionDocumentationLink_stringS'
,
$documentationLink
);
// get multiple authors
$authors
=
GeneralUtility
::
trimExplode
(
','
,
$extension
->
getLastVersion
()
->
getAuthor
()
->
getName
());
$authors
=
[];
if
(
$extension
->
getLastVersion
()
&&
$extension
->
getLastVersion
()
->
getAuthor
())
{
$authors
=
GeneralUtility
::
trimExplode
(
','
,
$extension
->
getLastVersion
()
->
getAuthor
()
->
getName
());
}
$document
->
setField
(
'author_textWstM'
,
$authors
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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