git://git.furryclan.net
/
furrycat
/
race-o-matic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d84784
)
Order by penalty time correctlygit add -p
author
CMDR furrycat
<elite@furrycat.net>
Mon, 25 Jan 2016 17:19:28 +0000
(12:19 -0500)
committer
CMDR furrycat
<elite@furrycat.net>
Mon, 25 Jan 2016 17:19:28 +0000
(12:19 -0500)
lib/race.php
patch
|
blob
|
history
diff --git
a/lib/race.php
b/lib/race.php
index
ef1c20c
..
2e83654
100644
(file)
--- a/
lib/race.php
+++ b/
lib/race.php
@@
-334,7
+334,7
@@
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;