summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-06-23 22:31:57 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-06-23 22:31:57 +0200
commit3142e9fa5bbcb1b857a39c630d5c0d8a393b3e03 (patch)
tree9b944dad06adae15a6fb1420c5fc856d7a8fde41
parentb7420ecd6f47273989d315f3e13cf894d2aac7cf (diff)
downloadcruncher-3142e9fa5bbcb1b857a39c630d5c0d8a393b3e03.tar.gz
cruncher-3142e9fa5bbcb1b857a39c630d5c0d8a393b3e03.zip
fix filters, second attempt
-rw-r--r--crunch_global.sql1
1 files changed, 0 insertions, 1 deletions
diff --git a/crunch_global.sql b/crunch_global.sql
index fe34356..b1486f7 100644
--- a/crunch_global.sql
+++ b/crunch_global.sql
@@ -40,7 +40,6 @@ JOIN `role` `player_role` ON `player_role`.`id` = `player`.`role_id` OR `player_
JOIN `region` ON `region`.`name` = `player`.`shard_id` OR `region`.`name` = 'all'
-- filters
-JOIN `global_point_filters` ON `player`.`match_api_id` = `global_point_filters`.`match_api_id`
JOIN `filter` ON (`filter`.`name` = 'all' AND `filter`.`dimension_on` = 'global') OR `filter`.`id` IN (SELECT `global_point_filters`.`filter_id` FROM `global_point_filters` WHERE `global_point_filters`.`match_api_id` = `player`.`match_api_id`)
-- being cheap