fix 268981 cross folder virtual folders don't remember sort order, sr=mscott, a=chofmann

This commit is contained in:
bienvenu%nventure.com 2005-05-02 16:45:10 +00:00
parent 618bdac591
commit f63f158204

View File

@ -199,6 +199,11 @@ nsMsgXFVirtualFolderDBView::OnSearchDone(nsresult status)
dbFolderInfo->SetNumMessages(m_numTotal);
m_viewFolder->UpdateSummaryTotals(true); // force update from db.
virtDatabase->Commit(nsMsgDBCommitType::kLargeCommit);
if (m_sortType != nsMsgViewSortType::byThread)
{
m_sortValid = PR_FALSE; //sort the results
Sort(m_sortType, m_sortOrder);
}
return rv;
}