6.0.0-alpha12
6/8/25

[#5610] Filters do not work if they contain OR
Summary Filters do not work if they contain OR
Queue Ingo
Queue Version 1.1.2
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester bettini (at) dsi (dot) unifi (dot) it
Created 08/08/2007 (6514 days ago)
Due
Updated 09/04/2007 (6487 days ago)
Assigned 08/28/2007 (6494 days ago)
Resolved 09/04/2007 (6487 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/04/2007 03:02:46 PM Jan Schneider State ⇒ Resolved
 
09/04/2007 02:53:29 PM robin (dot) west (at) dal (dot) ca Comment #7 Reply to this comment
Hi Chuck - I just did some testing using 1.2-alpha (with horde 3.1.4) 
and the filters seem to be working just fine now (both AND and OR 
cases).
08/28/2007 05:52:42 PM Chuck Hagenbuch Comment #6
State ⇒ Feedback
Taken from Chuck Hagenbuch
Reply to this comment
I've just tested both the Or and the And cases, with at least three 
rules, and they work as they should. I'm testing with Horde 3.2-cvs 
and Ingo 1.2-cvs; there have been a lot of bugfixes in Ingo recently 
so unless someone can reproduce this with the current code I see this 
as a fix in 1.2.
08/26/2007 12:57:08 AM Chuck Hagenbuch Assigned to Chuck Hagenbuch
State ⇒ Assigned
 
08/22/2007 08:38:53 PM robin (dot) west (at) dal (dot) ca Comment #5 Reply to this comment
What Horde version are you using? There were fixes for OR searches in
Horde 3.1.1.
We're at Horde 3.1.4.



-Robin


08/22/2007 02:59:32 AM Chuck Hagenbuch Comment #4 Reply to this comment
What Horde version are you using? There were fixes for OR searches in 
Horde 3.1.1.
08/16/2007 05:37:38 PM robin (dot) west (at) dal (dot) ca Comment #3 Reply to this comment
Please try either Ingo 1.1.3 or 1.2-ALPHA, and if you still have
problems, say which filtering backend you're using.
Hi - we just upgraded to 1.1.3. When using an 'OR' filter (i.e. "match 
any of the following"), it seems to miss the first item. For example, 
if I set up a filter with these criteria:



Subject Contains 'foo'

OR Subject Contains 'bar'

OR Subject Contains 'baz'



then it filters messages with 'bar' or 'baz' in the subject line, but 
not messages with 'foo'.



Also, when using 'AND' ("match all of the following") ... it seems to 
be matching the last rule in the filter regardless of the previous 
rules. So for example if the filter is set up like this:



Subject Contains 'foo'

AND Subject Contains 'bar'

AND Subject Contains 'baz'



Then any message with 'baz' in the subject gets filtered, even though 
it does not contain 'foo' and 'bar'.



Hope this helps. We are using Ingo 1.1.3 with Horde 3.1.4, IMP 4.1.4. 
I'm not sure which backend it uses, how do I check that? We haven't 
changed anything in backends.php. Our preferences backend is postgres 
7.3.19-RH.



-Robin




08/08/2007 07:53:39 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Please try either Ingo 1.1.3 or 1.2-ALPHA, and if you still have 
problems, say which filtering backend you're using.
08/08/2007 12:40:53 PM bettini (at) dsi (dot) unifi (dot) it Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ Ingo
Summary ⇒ Filters do not work if they contain OR
Type ⇒ Bug
Reply to this comment
Filters stop working with this release... previously they have always 
worked...

I tried to remove all the filters and start adding new filters and 
noticed that filters work only if they contain only one condition: if 
I use "match any of the following" they don't work anymore... (they 
are simply not applied: I get no error message)

Saved Queries