mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
fix 268981 cross folder virtual folders don't remember sort order, sr=mscott, a=chofmann
This commit is contained in:
parent
618bdac591
commit
f63f158204
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user