diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-13 16:15:41 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-13 16:16:06 +0100 |
| commit | bf4143bba2adef8ce14bb158b295502e52463ffa (patch) | |
| tree | f9a133d999a9bbb2ec10d78a62223275e300cacd | |
| parent | 39604afb4287f3e9cbfb69c0975d760b32488f6b (diff) | |
| download | cruncher-master.tar.gz cruncher-master.zip | |
| -rw-r--r-- | crunch_player.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crunch_player.sql b/crunch_player.sql index 0324e23..2f4a714 100644 --- a/crunch_player.sql +++ b/crunch_player.sql @@ -37,7 +37,8 @@ join filter f on (f.dimension_on = 'player' and (f.name = 'all' or f.id in (sele join series s on (p_s.created_at between s.start and s.end and s.dimension_on = 'player') join hero h on (p.hero_id = h.id or h.name = 'all') join role r on ((p.role_id = r.id and h.name = 'all') or r.name = 'all') -- do not cross hero x role -join game_mode gm on ((p.game_mode_id = gm.id and h.name = 'all' and r.name = 'all') or gm.name = 'all') -- do not cross mode x role / mode x hero +-- join game_mode gm on ((p.game_mode_id = gm.id and h.name = 'all' and r.name = 'all') or gm.name = 'all') -- do not cross mode x role / mode x hero +join game_mode gm on (p.game_mode_id = gm.id or gm.name = 'all') where p.api_id in (:participant_api_ids) |
