[Digikam-devel] [Bug 179012] advanced search missing negative conditions (changed from 0.9)

Marcel Wiesweg marcel.wiesweg at gmx.de
Tue Jan 13 14:39:03 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=179012


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #20 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-13 15:39:02 ---
SVN commit 910536 by mwiesweg:

Offer options for negative search conditions in the search group header.
We offer four different options:
1) All of these conditions are met: (A && B && C)
2) Any of these conditions are met: (A || B || C)
3) At least one of these conditions is not met: !(A && B && C), (!A || !B ||!C)
4) None of these conditions are met: !(A || B || C), (!A && !B && !C)
with 1) being the default.
Intuition and UI wording of the negated versions use the (!A || !B ||!C) and
(!A && !B && !C)
variant, while the stored search XML and the generated SQL will use !(A && B &&
C) and
!(A || B || C) according to de Morgan. This explains why the code is a bit more
complicated than I expected initially.

BUG: 179012

 M  +223 -20   searchgroup.cpp  
 M  +21 -1     searchgroup.h  
 M  +20 -0     searchview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=910536


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list