Order hulls by name when adding a ship.
authorCMDR furrycat <elite@furrycat.net>
Mon, 20 Jun 2016 08:43:54 +0000 (04:43 -0400)
committerCMDR furrycat <elite@furrycat.net>
Mon, 20 Jun 2016 08:43:54 +0000 (04:43 -0400)
lib/ship.php

index 315604b..67b97b2 100644 (file)
@@ -63,7 +63,7 @@
 
     echo "<hr>\n";
     $hq = new HullQuery;
-    $hulls = $hq->find();
+    $hulls = $hq->orderByName()->find();
     $cq = new CompetitorQuery;
     $competitors = $cq->orderByCmdrName()->find();
     if (! count($hulls)) {