Order by penalty time correctlygit add -p
authorCMDR furrycat <elite@furrycat.net>
Mon, 25 Jan 2016 17:19:28 +0000 (12:19 -0500)
committerCMDR furrycat <elite@furrycat.net>
Mon, 25 Jan 2016 17:19:28 +0000 (12:19 -0500)
lib/race.php

index ef1c20c..2e83654 100644 (file)
         Ordering by bonus time will allow a racer who didn't use the joker
         to win a tiebreak with one who did.
       */
-      $entries = $eq->orderByTotalDistance('desc')->orderByPenaltyTime('desc')->orderByTotalTime()->orderByBonusTime()->find();
+      $entries = $eq->orderByTotalDistance('desc')->orderByPenaltyTime()->orderByTotalTime()->orderByBonusTime()->find();
       if (! $action) {
         echo "<p>" . $race->getLink() . "</p>\n";
         continue;