mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug #225564 --> cannot sort messages by junk status because we are using the wrong column id.
This commit is contained in:
parent
58b04d3e74
commit
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user