#135 search doesn't filter out mailbox aliases


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.


  • Christian Boltz

    Christian Boltz - 2009-10-18
    • priority: 5 --> 4
  • Christian Boltz

    Christian Boltz - 2010-05-18

    That's implemented on the list-virtual.php side in the meantime. The remaining parts are:
    - change all scripts to call list-virtual.php instead of search.php
    - testing

  • Christian Boltz

    Christian Boltz - 2010-09-27

    Since 5 minutes (SVN trunk r869) search.php is history :-) and list-virtual.php does its job.

    Only remaining bug: in search mode, no page browser is displayed. This means that you'll only see the first $CONF['page_size'] search results *without* the possibility to see the next page of results.

  • Christian Boltz

    Christian Boltz - 2010-09-27
    • priority: 4 --> 6
  • Christian Boltz

    Christian Boltz - 2011-04-10

    The missing pagebrowser was fixed as a side effect of my commit to SVN trunk r1034 some minutes ago.

    I'm not sure if I will/can backport this to the 2.3 branch. It uses a completely new function to generate the pagebrowser, which is a quite intrusive change.

  • Christian Boltz

    Christian Boltz - 2011-04-10
    • status: open --> closed-fixed

Log in to post a comment.