]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Sort by the weapon's description in the accuracy table.
authorantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:37:38 +0000 (14:37 -0500)
committerantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:37:38 +0000 (14:37 -0500)
xonstat/views/game.py

index 05ff27760a3cce895aec106f341266d4c5cd8fb9..370636532f9ba1129783b065eb18eaa046b333a4 100755 (executable)
@@ -67,6 +67,7 @@ def game_info(request):
                     PlayerGameStat.player_game_stat_id).\\r
                 order_by(PlayerGameStat.rank).\\r
                 order_by(PlayerGameStat.score).\\r
+                order_by(Weapon.descr).\\r
                 all():\r
                     if pgstat.player_game_stat_id not in pwstats:\r
                         pwstats[pgstat.player_game_stat_id] = []\r