Search results contain the mailbox aliases in the "Aliases" section. They should be filtered out and only be listed in the "Mailboxes" section.
Better solution - merge search and list-virtual. Wichout having looked at it, the differences are probably only:
- a different WHERE clause ;-) (searching for the entered text, not for a domain)
- highlighting of search matches
- (maybe: hide the "create alias"/"create mailbox" links)
Everything else should work with the same code. Using the code from list-virtual is probably the better idea because it is used/tested more often.
Log in to post a comment.