[Tickets #12566] Re: _getSpecialUse() does not set sort_delimiter

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 15 17:21:42 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12566
------------------------------------------------------------------------------
  Ticket             | 12566
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | _getSpecialUse() does not set sort_delimiter
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2013-08-15 11:21) wrote:

>> This was intentional.  Since special mailboxes are restricted to the
>> personal namespace, they will all share a delimiter so there should
>> be no reason to have to manually define one.
>
> I thought the sort_delimiter is needed for the correct hierarchical  
> sort order even in the same namespace. As the default delimiter is  
> '.' and my server uses '/', that would mess it up.

It shouldn't.  i.e. even if the delimiter is '/', these should still  
be sorted correctly:

Foo
Foo/bar
Foo/bar/baz
Foo2

since '/' > any character/number in sorting.

It's not needed here because we can guarantee that all mailboxes will  
contain the same delimiter (since we don't allow special mailboxes to  
live outside the personal namespace).





More information about the bugs mailing list