git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99499f
)
Don't mix up factions when reporting trends.
author
CMDR furrycat
<elite@furrycat.net>
Sat, 1 Jul 2017 20:02:05 +0000
(21:02 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Sat, 1 Jul 2017 20:02:05 +0000
(21:02 +0100)
plugin/faction/faction.py
patch
|
blob
|
history
diff --git
a/plugin/faction/faction.py
b/plugin/faction/faction.py
index
a062587
..
39acb80
100644
(file)
--- 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 = ''