Merge branch 'hotfix/wrong_result_sorting' into develop
This commit is contained in:
@@ -145,9 +145,9 @@ var compareResultsRaceCount;
|
|||||||
function compareResults (a, b) {
|
function compareResults (a, b) {
|
||||||
if (a['netto'] != b['netto']) return (a['netto'] < b['netto']) ? -1 : 1;
|
if (a['netto'] != b['netto']) return (a['netto'] < b['netto']) ? -1 : 1;
|
||||||
var tempA = [...a['values']];
|
var tempA = [...a['values']];
|
||||||
tempA.sort();
|
tempA.sort(function(a,b){return a-b;});
|
||||||
var tempB = [...b['values']];
|
var tempB = [...b['values']];
|
||||||
tempB.sort();
|
tempB.sort(function(a,b){return a-b;});
|
||||||
for (var i = 0; i < compareResultsRaceCount; i ++) {
|
for (var i = 0; i < compareResultsRaceCount; i ++) {
|
||||||
if (tempA[i] != tempB[i]) return (tempA[i] < tempB[i]) ? -1 : 1;
|
if (tempA[i] != tempB[i]) return (tempA[i] < tempB[i]) ? -1 : 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('PWA_VERSION', '1.11.5h2');
|
define('PWA_VERSION', '1.11.5h3');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user