From e8b738ea45b8d83d8c442a1ab6b18b6cbb1778db Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Mon, 20 Jun 2016 04:43:54 -0400 Subject: [PATCH] Order hulls by name when adding a ship. --- lib/ship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ship.php b/lib/ship.php index 315604b..67b97b2 100644 --- a/lib/ship.php +++ b/lib/ship.php @@ -63,7 +63,7 @@ echo "
\n"; $hq = new HullQuery; - $hulls = $hq->find(); + $hulls = $hq->orderByName()->find(); $cq = new CompetitorQuery; $competitors = $cq->orderByCmdrName()->find(); if (! count($hulls)) { -- 2.7.4