Commit 42351473 by Tyler Hallada Committed by GitHub

Merge pull request #551 from edx/thallada/fix-sort-icon

Display correct sort arrow direction on learner roster table load
parents f770469e d0d0c1f2
......@@ -41,7 +41,7 @@ define(function(require) {
render: function() {
var directionWord;
if (this.collection.state.sortKey && this.collection.state.sortKey === this.column.attributes.name) {
directionWord = this.collection.state.order ? 'ascending' : 'descending';
directionWord = this.collection.state.order ? 'descending' : 'ascending';
this.column.attributes.direction = directionWord;
}
......
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