Fixed showing only one plot.
authorCMDR furrycat <elite@furrycat.net>
Thu, 13 Apr 2017 15:05:53 +0000 (16:05 +0100)
committerCMDR furrycat <elite@furrycat.net>
Thu, 13 Apr 2017 15:07:14 +0000 (16:07 +0100)
plugin/faction/faction.py

index 6fdbd39..846856e 100644 (file)
@@ -896,7 +896,7 @@ class Faction(DBConnection):
     if len(faction_ids):
       sql += ' and i.faction_id in ({})'.format(', '.join(['?'] * len(faction_ids)))
       params += faction_ids
-    sql += ' group by timestamp order by timestamp, system_name, faction_name'
+    sql += ' group by timestamp, system_name, faction_name order by timestamp, system_name, faction_name'
 
     if len(faction_ids) == 1:
       key = 'system_name'