[Tickets #2699] RESOLVED: Search Does Not Work

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Sep 28 11:45:23 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2699
-----------------------------------------------------------------------
 Ticket             | 2699
 Updated By         | ajitdixit at shreya.co.in
 Summary            | Search Does Not Work
 Queue              | IMP
 Version            | 4.0.4-RC2
 State              | Bogus
 Priority           | 2. Medium
 Type               | Bug
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


ajitdixit at shreya.co.in (2005-09-28 11:45) wrote:

>> Duplicate of Bug 1367. (and line 585 is a comment in RC2 so you are
>> not running RC2 as you indicate).
>>
> The Problem Is As Under :
>
> In Search Menu If You Select Match Any Query  The Search Works
> If You Select Match  All  Quiries then the Search returns empty Set
>
> The problem is coming from lib/Search.php
>
> I have copied the lib/Search.php of  4.0.4-RC1 In 4.0.4-RC2 and now 
> Match All Quiries work
>
> I feel the problem is following lines Of  lib/Search.php in 
> version  4.0.4-RC2
>
 /* Prepare the search query. */
        if (!empty($ob)) {
            $old_query = unserialize($imp['search']['query']);
            $query = &new IMAP_Search_Query();
            $query->imapAnd(array($ob, $old_query));
        } else {
            $query = unserialize($imp['search']['query']);
        }


> I have multiple imp versions running Simulteneously and I had picked 
> wrong line in Log . I regret
>
> But the reporting is correct





More information about the bugs mailing list