6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1291] Folder dropdown sorted incorrectly
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ __..__ . . [ __| \(__ [ __\ / [_./|__/.__)[_./ \/
Comment
> The bug is in _mbox_cmp function in > horde-3.0.2/lib/Horde/IMAP/Sort.php. When sorting, it checks only if > one of the arguments is INBOX itself. Folders that are subfolders of > INBOX are sorted just like any other folders (ignoring _sortinbox > setting). > > > > The attached patch fixes this. Even when using namespace or similar > options, this should be good thing to do. Sorted list will contain > INBOX, than subfolders of INBOX (with INBOX. part displayed or > hidden, depending on used options), and than all other folders. In > some cases, this might result in the folder list that might not look > completely sorted on the first look, but it will be more logical > (because user's folders will not be mixed with shared or other users > folders).
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers