]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Merge branch 'master' of github.com:antzucaro/XonStat
authorAnt Zucaro <azucaro@gmail.com>
Wed, 3 Dec 2014 03:49:26 +0000 (22:49 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 3 Dec 2014 03:49:26 +0000 (22:49 -0500)
xonstat/views/player.py

index 6b0b9459f8abe760bdf0f3e211b6fee0e26c3bdb..7e4dfcbbe33f6ea1e067abadfeef1548cb7b1b04 100644 (file)
@@ -345,6 +345,7 @@ def get_ranks(player_id):
                     "from player_ranks  "
                     "group by game_type_cd) overall "
                 "where pr.game_type_cd = overall.game_type_cd  "
+                "and max_rank > 1 "
                 "and player_id = :player_id "
                 "order by rank").\
             params(player_id=player_id).all()