Opened 7 years ago
Closed 7 years ago
#1483911 closed Bugs (fixed)
Messages are sorted with the newest on the bottom
| Reported by: | LlamaGuy | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1-beta2 |
| Component: | Client Scripts | Version: | 0.1-beta |
| Severity: | major | Keywords: | |
| Cc: |
Description
With the newest subversion update, when sorting messages by DESC order, it will show the newest messages at the bottom of the first page.
Change History (4)
comment:1 Changed 7 years ago by int2str
comment:2 Changed 7 years ago by yllar
- Milestone set to 0.1-beta2
confirmed with courier-imap 4.1.1-3 (debian)
fix by int2str works for me
comment:3 Changed 7 years ago by Voyageur
Confirmed with SVN revision 285 on a gentoo x86 system, the fix works fine
comment:4 Changed 7 years ago by yllar
- Resolution set to fixed
- Status changed from new to closed
seems to be fixed in rev 286
Note: See
TracTickets for help on using
tickets.

I've experienced the same problem in SVN revision 283.
The following change fixed the problem for me:
Index: program/include/rcube_imap.inc =================================================================== --- program/include/rcube_imap.inc (revision 283) +++ program/include/rcube_imap.inc (working copy) @@ -560,7 +560,10 @@ // if not already sorted if (!$headers_sorted) + { $a_msg_headers = iil_SortHeaders($a_msg_headers, $this->sort_field, $this->sort_order); + $headers_sorted = TRUE; + } if (!$headers_sorted && $this->sort_order == 'DESC')