Bug #225564 --> cannot sort messages by junk status because we are using the wrong column id.

This commit is contained in:
scott%scott-macgregor.org 2003-11-13 18:33:07 +00:00
Родитель 58b04d3e74
Коммит dd4cda948d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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");