Changed sorting

pull/10395/head
Michael 2021-06-12 10:12:02 +00:00
parent b8da971fac
commit c21cbd936e
1 changed files with 5 additions and 1 deletions

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'];