From 6294f7c0aaa88f6f28ffad265f93f45afe8ec93b Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Sat, 1 Jul 2017 21:02:05 +0100 Subject: [PATCH] Don't mix up factions when reporting trends. --- plugin/faction/faction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/faction/faction.py b/plugin/faction/faction.py index a062587..39acb80 100644 --- a/plugin/faction/faction.py +++ b/plugin/faction/faction.py @@ -916,7 +916,7 @@ class Faction(DBConnection): if system is not None: sql += ' and s.name=?' params.append(system) - sql += ' order by system_name, influence desc, pending, trend desc' + sql += ' order by system_name, influence desc, faction_name, pending, trend desc' cursor = self.query(sql, params) report = {} last_system = '' -- 2.7.4