Merge branch 'hotfix/wrong_result_sorting'

This commit is contained in:
tostertun
2021-08-31 16:53:47 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -145,9 +145,9 @@ var compareResultsRaceCount;
function compareResults (a, b) {
if (a['netto'] != b['netto']) return (a['netto'] < b['netto']) ? -1 : 1;
var tempA = [...a['values']];
tempA.sort();
tempA.sort(function(a,b){return a-b;});
var tempB = [...b['values']];
tempB.sort();
tempB.sort(function(a,b){return a-b;});
for (var i = 0; i < compareResultsRaceCount; i ++) {
if (tempA[i] != tempB[i]) return (tempA[i] < tempB[i]) ? -1 : 1;
}

View File

@@ -1,5 +1,5 @@
<?php
define('PWA_VERSION', '1.11.5h2');
define('PWA_VERSION', '1.11.5h3');
?>