Closed
Bug 1973720
Opened 5 months ago
Closed 5 months ago
In-app notifications: not properly sorting by percent chance
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(thunderbird_esr140 affected)
RESOLVED
FIXED
142 Branch
| Tracking | Status | |
|---|---|---|
| thunderbird_esr140 | --- | affected |
People
(Reporter: freaktechnik, Assigned: arschmitz)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
https://searchfox.org/comm-central/rev/b70cb910582f75f9b09cf661914e7c7ee8c2003d/mail/components/inappnotifications/modules/NotificationManager.sys.mjs#233 tries to sort by percent_chance if severity and the start date are identical. However percent_chance is on the targeting object, so we're not actually sorting by it currently. This also highlights that sorting is currently not properly tested.
This code was introduced by bug 1936323 but since it didn't do anything previously this isn't actually a regression.
Updated•5 months ago
|
Blocks: tb140found
| Assignee | ||
Updated•5 months ago
|
Assignee: nobody → arschmitz
| Assignee | ||
Comment 1•5 months ago
|
||
| Assignee | ||
Updated•5 months ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•5 months ago
|
Keywords: checkin-needed-tb
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/ad7d5200ca8a
Correctly sort in app notifications by percent_chance. r=freaktechnik
You need to log in
before you can comment on or make changes to this bug.
Description
•