Commit 0b2226b0 by John Hess

Merge pull request #1660 from MITx/hotfix/jkarni/folditorder

Table order fix (again), changes a single character
parents faab0ac1 1058b552
...@@ -87,7 +87,7 @@ class FolditModule(XModule): ...@@ -87,7 +87,7 @@ class FolditModule(XModule):
from foldit.models import Score from foldit.models import Score
leaders = [(e['username'], e['score']) for e in Score.get_tops_n(10)] leaders = [(e['username'], e['score']) for e in Score.get_tops_n(10)]
leaders.sort(key=lambda x: x[1]) leaders.sort(key=lambda x: -x[1])
return leaders return leaders
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment