[Tickets #6825] OR-combination for flags

bugs at horde.org bugs at horde.org
Tue Jun 3 15:39:52 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6825
-----------------------------------------------------------------------
 Ticket             | 6825
 Created By         | xk3 at mompl.org
 Summary            | OR-combination for flags
 Queue              | IMP
 Version            | 4.2
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


xk3 at mompl.org (2008-06-03 11:39) wrote:

testing IMP 4.2 with most of the other current modules. Am I correct that
searches are built by one of the following two modes?

All Queries: AND( AND(CRIT_1, CRIT_2, ...) AND(FLAG_1, FLAG_2, ...) )
Any Queries: AND(  OR(CRIT_1, CRIT_2, ...) AND(FLAG_1, FLAG_2, ...) )


My understanding is that it is not possible to do imap searches for
OR-combination of flags, correct? (e.g. all new OR unanswered messages).

That could be fixed by making "search flags" on par with the "search
criteria", i.e. applying the all/any-switch to flags as well. Even better:
provide three all/any-switches for search criteria, search flags and their
combination:

AND/OR(  AND/OR(crit_1, crit_2, ...), AND/OR(FLAG_1, FLAG_2, ...) )

That would enormously extend the space of possible searches by still
avoiding a complex GUI for the general nesting of logical operators.



Furthermore two little glitches in the current GUI:
 - In "recent searches", the flags are not mentioned.
 - "Search Flags" for all the imap flags, but "flagged message"
   for only the important flag.


Martin





More information about the bugs mailing list