[Tickets #705] NEW: search results problem

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Oct 18 10:53:39 PDT 2004


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

Ticket URL: http://bugs.horde.org/ticket/?id=705
-----------------------------------------------------------------------
 Ticket     | 705
 Created By | mcaplin at miami.edu
 Summary    | search results problem
 Queue      | IMP
 Version    | 3.2.6
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


mcaplin at miami.edu (2004-10-18 10:53) wrote:

I am having a problem with a missing search result under certain condtions:

When searching a few mailboxes, if the search results include duplicate
message numbers (for example: message 3 of mailbox2 and message 3 of
mailbox3), only the latter is displayed.  I did some debugging and saw
that $sorted in mailbox.php contains the complete search results but after

$sortedIds = array_flip($sorted);   [line 599 of mailbox.php]

$sortedIds (which I believe is used to create the display) is missing one
of the "duplicate" message Ids.  Also, the resulting page will have
something like "1 to 16 of 16 messages" but only 15 messages are listed.

Could you use a compound key (maybe folder_index.message_id or some format
that includes the mailbox) for $sortedIds so this will not happen?




More information about the bugs mailing list