зеркало из https://github.com/mozilla/pjs.git
fix 357840 going into quicksearch and leaving quicksearch, when grouped, makes us lose twisties on groups, sr=mscott
This commit is contained in:
Родитель
96d5e4b54e
Коммит
e8e9061ce1
|
@ -186,9 +186,10 @@ function createQuickSearchView()
|
|||
}
|
||||
// if grouped by sort, turn that off, as well as threaded, since we don't
|
||||
// group quick search results yet.
|
||||
if (gDBView.viewFlags & nsMsgViewFlagsType.kGroupBySort)
|
||||
gDBView.viewFlags &= ~(nsMsgViewFlagsType.kGroupBySort | nsMsgViewFlagsType.kThreadedDisplay);
|
||||
CreateDBView(gDBView.msgFolder, (gXFVirtualFolderTerms) ? nsMsgViewType.eShowVirtualFolderResults : nsMsgViewType.eShowQuickSearchResults, gDBView.viewFlags, gDBView.sortType, gDBView.sortOrder);
|
||||
var viewFlags = gDBView.viewFlags;
|
||||
if (viewFlags & nsMsgViewFlagsType.kGroupBySort)
|
||||
viewFlags &= ~(nsMsgViewFlagsType.kGroupBySort | nsMsgViewFlagsType.kThreadedDisplay);
|
||||
CreateDBView(gDBView.msgFolder, (gXFVirtualFolderTerms) ? nsMsgViewType.eShowVirtualFolderResults : nsMsgViewType.eShowQuickSearchResults, viewFlags, gDBView.sortType, gDBView.sortOrder);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче