зеркало из https://github.com/mozilla/gecko-dev.git
Bug #225564 --> cannot sort messages by junk status because we are using the wrong column id.
This commit is contained in:
Родитель
58b04d3e74
Коммит
dd4cda948d
|
@ -502,8 +502,8 @@ function ConvertColumnIDToSortType(columnID)
|
|||
case "labelCol":
|
||||
sortKey = nsMsgViewSortType.byLabel;
|
||||
break;
|
||||
case "scoreCol":
|
||||
sortKey = nsMsgViewSortType.byScore;
|
||||
case "junkStatusCol":
|
||||
sortKey = nsMsgViewSortType.byJunkStatus;
|
||||
break;
|
||||
case "idCol":
|
||||
sortKey = nsMsgViewSortType.byId;
|
||||
|
@ -565,8 +565,8 @@ function ConvertSortTypeToColumnID(sortKey)
|
|||
// there is no orderReceivedCol, so return null
|
||||
columnID = null;
|
||||
break;
|
||||
case nsMsgViewSortType.byScore:
|
||||
columnID = "scoreCol";
|
||||
case nsMsgViewSortType.byJunkStatus:
|
||||
columnID = "junkStatusCol";
|
||||
break;
|
||||
default:
|
||||
dump("unsupported sort key: " + sortKey + "\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче