Changed sorting

This commit is contained in:
Michael 2021-06-12 10:12:02 +00:00
parent b8da971fac
commit c21cbd936e

View file

@ -138,7 +138,11 @@ class Federation extends BaseAdmin
$versionCounts = self::removeVersionSuffixes($versionCounts);
}
$versionCounts = self::sortVersion($versionCounts);
if (!in_array($platform, ['other', 'relay', 'mistpark'])) {
$versionCounts = self::sortVersion($versionCounts);
} else {
ksort($versionCounts);
}
$gserver['platform'] = $systems[$platform]['name'];