Commit e7f30e6
committed
fix: sort notifications by timestamp before display
1. Added sorting of notification entities by creation time (cTime) in
descending order
2. Ensures newest notifications appear first in the list
3. Improves user experience by showing most recent notifications at
the top
4. Sorting happens before the model reset to maintain data consistency
fix: 在显示前按时间戳排序通知
1. 添加了按创建时间(cTime)降序排列通知实体的功能
2. 确保最新的通知显示在列表最前面
3. 通过将最新通知显示在顶部来提升用户体验
4. 排序操作在模型重置前完成以保持数据一致性
pms:BUG-2999351 parent 087e93a commit e7f30e6
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
0 commit comments