6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
12/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#705] search results problem
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. .. .. . |\/|\ /|__||_/ |_/ | | \/ | || \| \
Comment
> 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?
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