Ticket #1483911 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by int2str

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')

Changed 2 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

Changed 2 years ago by Voyageur

Confirmed with SVN revision 285 on a gentoo x86 system, the fix works fine

Changed 2 years ago by yllar

  • status changed from new to closed
  • resolution set to fixed

seems to be fixed in rev 286

Note: See TracTickets for help on using tickets.