Commit be34a0fb authored by Oliver Wand's avatar Oliver Wand
Browse files

[BUGFIX] Respect correct versions sorting to get correct first upload date

parent e22fc8c5
Pipeline #3562 passed with stages
in 5 minutes
......@@ -646,7 +646,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$dateOfFirstUpload = null;
$versions = $this->getVersions()->toArray();
$versions = array_reverse($this->getReverseVersionsByVersionNumber());
list ($firstVersion) = $versions;
if (!empty($firstVersion)) {
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