提交 d739bedc 编写于 作者: R ruoxijiang 提交者: Oleg Nenashev

[FIXED JENKINS-17290] - Corrected sort order of tables

---------
It seems that the sort is for sorting ascending order, thus a
"descending" order should be sorter.reverse (+1 squashed commit)
Squashed commits:
[a5eb304] [FIXED JENKINS-17290]
上级 5adf5fa9
......@@ -178,7 +178,7 @@ var Sortable = (function() {
var dir = this.pref.direction;
var s = this.getSorter(column);
if(dir === arrowTable.up) {// ascending
if(dir === arrowTable.down) {// only need to reverse when it's descending
s = sorter.reverse(s);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册