]> ruin.nu Git - ndwebbie.git/blobdiff - NDWeb/Pages/Raids.pm
Launch items on newsies has NULL as amount, not -1
[ndwebbie.git] / NDWeb / Pages / Raids.pm
index 0b342fa42022547358865b52e8d680c91cd0f222..4b454589af81e11a6bebc19e4bba811a72d39a49 100644 (file)
@@ -245,7 +245,9 @@ sub render_body {
                                ORDER BY name,i.tick DESC
                        });
                        $unitscans->execute($target->{planet}) or warn $DBH->errstr;
-                       my $ships = $DBH->prepare(q{SELECT ship,amount FROM fleet_ships WHERE id = ?});
+                       my $ships = $DBH->prepare(q{SELECT ship,amount FROM fleet_ships
+                               WHERE id = ? ORDER BY num
+                       });
                        my @missions;
                        while (my $mission = $unitscans->fetchrow_hashref){
                                my @ships;