Fix grapher so that only cash limits show up
This commit is contained in:
parent
8d5e339973
commit
627c044b6f
|
@ -624,7 +624,7 @@ class RingFilters(Filters.Filters):
|
|||
vbox.pack_start(vbox1, False, False, 0)
|
||||
self.boxes['limits'] = vbox1
|
||||
|
||||
self.cursor.execute(self.sql.query['getLimits3'])
|
||||
self.cursor.execute(self.sql.query['getCashLimits'])
|
||||
# selects limitType, bigBlind
|
||||
result = self.db.cursor.fetchall()
|
||||
found = {'nl':False, 'fl':False, 'pl':False, 'ring':False, 'tour':False}
|
||||
|
|
|
@ -1988,11 +1988,16 @@ class Sql:
|
|||
, gt.limitType
|
||||
, case type
|
||||
when 'ring' then bigBlind
|
||||
else buyin
|
||||
end as bb_or_buyin
|
||||
- else buyin
|
||||
- end as bb_or_buyin
|
||||
from Gametypes gt
|
||||
cross join TourneyTypes tt
|
||||
order by type, limitType DESC, bb_or_buyin DESC"""
|
||||
self.query['getCashLimits'] = """select DISTINCT type
|
||||
, limitType
|
||||
, bigBlind as bb_or_buyin
|
||||
from Gametypes gt
|
||||
order by type, limitType DESC, bb_or_buyin DESC"""
|
||||
|
||||
if db_server == 'mysql':
|
||||
self.query['playerDetailedStats'] = """
|
||||
|
|
Loading…
Reference in New Issue
Block a user