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
5d26fed1
Commit
5d26fed1
authored
Oct 02, 2018
by
Thomas Löffler
Browse files
Add support for 9 LTS in results and detail view
parent
5b0ba567
Pipeline
#5296
passed with stages
in 5 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter_fe2/Classes/Domain/Model/Version.php
View file @
5d26fed1
...
...
@@ -1158,7 +1158,8 @@ class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
// @todo: Get these versions automatically
$typo3Versions
=
[
'7 LTS'
=>
7006000
,
'8 LTS'
=>
8007000
'8 LTS'
=>
8007000
,
'9 LTS'
=>
9005000
];
$supportedTypo3Versions
=
[];
...
...
html/typo3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
View file @
5d26fed1
...
...
@@ -111,6 +111,7 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
// @todo: use JSON with all versions to get them
$document
->
setField
(
'supports7_boolS'
,
false
);
$document
->
setField
(
'supports8_boolS'
,
false
);
$document
->
setField
(
'supports9_boolS'
,
false
);
$typo3Support
=
[];
if
(
VersionUtility
::
doesExtensionSupportTypo3Version
(
$extension
,
7006000
))
{
$typo3Support
[]
=
'7 LTS'
;
...
...
@@ -120,6 +121,10 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$typo3Support
[]
=
'8 LTS'
;
$document
->
setField
(
'supports8_boolS'
,
true
);
}
if
(
VersionUtility
::
doesExtensionSupportTypo3Version
(
$extension
,
9005000
))
{
$typo3Support
[]
=
'9 LTS'
;
$document
->
setField
(
'supports9_boolS'
,
true
);
}
$document
->
setField
(
'typo3support_stringM'
,
$typo3Support
);
$extensionIcon
=
$this
->
getExtensionIcon
(
$itemRecord
[
'ext_key'
],
$extension
->
getLastVersion
()
->
getVersionString
());
...
...
html/typo3conf/ext/ter_layout/Resources/Private/Partials/Solr/Result/Document.html
View file @
5d26fed1
...
...
@@ -65,6 +65,9 @@
<f:if
condition=
"{document.supports8_boolS}"
>
<li
class=
"list-inline-item badge badge-success"
>
8 LTS
</li>
</f:if>
<f:if
condition=
"{document.supports9_boolS}"
>
<li
class=
"list-inline-item badge badge-success"
>
9 LTS
</li>
</f:if>
<f:if
condition=
"{document.hasManual_boolS}"
>
<li
class=
"list-inline-item"
>
<f:link.external
class=
"badge badge-info"
uri=
"{document.extensionDocumentationLink_stringS}"
rel=
"nofollow"
>
...
...
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