fix problem with position stats in sqlite
This commit is contained in:
parent
78dc7ab468
commit
797f04aaab
|
@ -520,7 +520,7 @@ class GuiPlayerStats (threading.Thread):
|
||||||
blindtest = str(tuple(nolims))
|
blindtest = str(tuple(nolims))
|
||||||
blindtest = blindtest.replace("L", "")
|
blindtest = blindtest.replace("L", "")
|
||||||
blindtest = blindtest.replace(",)",")")
|
blindtest = blindtest.replace(",)",")")
|
||||||
bbtest = bbtest + blindtest + ' ) )'
|
bbtest = bbtest + blindtest + ' ) ) )'
|
||||||
else:
|
else:
|
||||||
bbtest = bbtest + '(-1) ) )'
|
bbtest = bbtest + '(-1) ) )'
|
||||||
if type == 'ring':
|
if type == 'ring':
|
||||||
|
@ -539,7 +539,7 @@ class GuiPlayerStats (threading.Thread):
|
||||||
query = query.replace("<orderbyhgameTypeId>", "")
|
query = query.replace("<orderbyhgameTypeId>", "")
|
||||||
groupLevels = "show" not in str(limits)
|
groupLevels = "show" not in str(limits)
|
||||||
if groupLevels:
|
if groupLevels:
|
||||||
query = query.replace("<hgameTypeId>", "-1")
|
query = query.replace("<hgameTypeId>", "p.name")
|
||||||
else:
|
else:
|
||||||
query = query.replace("<hgameTypeId>", "h.gameTypeId")
|
query = query.replace("<hgameTypeId>", "h.gameTypeId")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user