You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by stenjan on 10 Oct 2012 16:54 UTC as Trac ticket #1488748
We are running RoundCube 0.8.1 with PHP 5.2.6 (minimum requirement according to INSTALL file: 5.2.1). Changing the sort order when having the threaded mail view enabled does not have any effect on the order in which mails are listed.
Having tracked down the problem, we found that program/include/rcube_result_thread::sort invokes array_unique($result, SORT_NUMERIC), but the sort_flags first appeared in PHP 5.2.9. The following patch for program/include/rcube_result_thread.php seems to do the trick for us:
Reported by stenjan on 10 Oct 2012 16:54 UTC as Trac ticket #1488748
We are running RoundCube 0.8.1 with PHP 5.2.6 (minimum requirement according to INSTALL file: 5.2.1). Changing the sort order when having the threaded mail view enabled does not have any effect on the order in which mails are listed.
Having tracked down the problem, we found that
program/include/rcube_result_thread::sort
invokesarray_unique($result, SORT_NUMERIC)
, but thesort_flags
first appeared in PHP 5.2.9. The following patch forprogram/include/rcube_result_thread.php
seems to do the trick for us:This might also be relevant for future releases, as RoundCube 0.8.2 seems to have the same problem.
Keywords: mails, threaded view, sorting
Migrated-From: http://trac.roundcube.net/ticket/1488748
The text was updated successfully, but these errors were encountered: