GUI: BB graph not working in postgres - add additional group-by column

This commit is contained in:
gimick 2011-03-23 09:38:50 +00:00
parent 169f4bca32
commit ed5234d24a

View File

@ -3401,7 +3401,7 @@ class Sql:
<limit_test>
<game_test>
AND hp.tourneysPlayersId IS NULL
GROUP BY h.startTime, hp.handId, hp.sawShowdown, hp.totalProfit
GROUP BY h.startTime, hp.handId, hp.sawShowdown, ( hp.totalProfit / ( gt.bigBlind * 2 ) ) * 100
ORDER BY h.startTime"""
self.query['getRingProfitAllHandsPlayerIdSiteInDollars'] = """