Open
Bug 1873353
Opened 6 months ago
Updated 6 months ago
Please restore secondary sort order by date for "grouped by sort"
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: betterbird.project+13, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Bug 1866951 removed the ability to have groups in a "grouped by sort" view grouped by a user-selected secondary sort order:
https://hg.mozilla.org/comm-central/rev/c18e9a718aae#l1.58
This was replaced by using the value of mailnews.default_sort_order/mailnews.default_news_sort_order.
This is an unwanted degradation of long-established functionality. Please restore it.
Note that secondary sort is always active, only indicators are not displayed.
Reporter | ||
Updated•6 months ago
|
Comment 1•6 months ago
|
||
After backing out bug 1866951, this patch fixes secondary sort for "grouped by sort".
diff --git a/mail/base/content/mailCommon.js b/mail/base/content/mailCommon.js
--- a/mail/base/content/mailCommon.js
+++ b/mail/base/content/mailCommon.js
@@ -965,16 +965,17 @@ var dbViewWrapperListener = {
window.threadPane.setTreeView(gViewWrapper.dbView);
// There is no persisted thread last expanded state for synthetic views.
if (!gViewWrapper.isSynthetic) {
window.threadPane.restoreThreadState();
}
window.threadPane.isFirstScroll = true;
window.threadPane.scrollDetected = false;
window.threadPane.scrollToLatestRowIfNoSelection();
+ window.threadPane.restoreSortIndicator();
}
},
onDestroyingView(folderIsComingBack) {
if (!window.threadTree) {
return;
}
if (folderIsComingBack) {
It's unclear how that relates to https://hg.mozilla.org/releases/comm-esr115/rev/645d83496cba from bug 1860322 which has this commit message: "Disregard secondary sort order for Grouped By views."
Comment 2•6 months ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•