fix initial default sort order to be ascending rs=sspitzer related to checkin for 12896

This commit is contained in:
bienvenu%netscape.com 2001-05-18 01:17:43 +00:00
parent bfc8a85774
commit 2d61cb101c

View File

@ -797,7 +797,7 @@ NS_IMETHODIMP nsDBFolderInfo::SetSortType(nsMsgViewSortTypeValue aSortType)
NS_IMETHODIMP nsDBFolderInfo::GetSortOrder(nsMsgViewSortOrderValue *aSortOrder)
{
PRUint32 sortOrderValue;
nsresult rv = GetUint32Property("sortOrder", &sortOrderValue, nsMsgViewSortOrder::none);
nsresult rv = GetUint32Property("sortOrder", &sortOrderValue, nsMsgViewSortOrder::ascending);
*aSortOrder = sortOrderValue;
return rv;
}