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:
09be485
)
Station order when adding a new race.
author
CMDR furrycat
<elite@furrycat.net>
Mon, 18 Jan 2016 11:29:13 +0000
(06:29 -0500)
committer
CMDR furrycat
<elite@furrycat.net>
Mon, 18 Jan 2016 11:29:13 +0000
(06:29 -0500)
Order stations by most recently-added system, as usually systems will be added in preparation for a new race.
lib/race.php
patch
|
blob
|
history
diff --git
a/lib/race.php
b/lib/race.php
index
4509942
..
cd629f3
100644
(file)
--- a/
lib/race.php
+++ b/
lib/race.php
@@
-213,7
+213,7
@@
function add_race($name, $allotted_time) {
$sq = new StationQuery;
$sq->joinWith('Station.System');
- $stations = $sq->orderBy
('System.Name
')->orderByName()->find();
+ $stations = $sq->orderBy
SystemId('desc
')->orderByName()->find();
$posted = array();
foreach ($_POST as $k => $v) {