]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Alliances.pm
Add Full fleet from Military scan
[ndwebbie.git] / lib / NDWeb / Controller / Alliances.pm
index 6c9731cc087f94b599f2841e5203694dff49a2e2..d8b332017ae86043c314566bd25eca325274bba7 100644 (file)
@@ -136,7 +136,7 @@ sub fleet : Local {
 WITH
 aus AS (SELECT DISTINCT ON (pid) pid, fid, name,tick
        FROM fleets f join fleet_scans fs using (fid)
-       WHERE mission = 'Full fleet' and name = 'Advanced Unit'
+       WHERE mission = 'Full fleet' and name IN ('Advanced Unit', 'Military')
        ORDER BY pid,tick DESC)
 ,ships AS (SELECT pid, tick, ship, amount, id AS ship_id
        FROM fleet_ships fs JOIN aus USING(fid) JOIN ship_stats USING(ship))