Review Request 127117: Reverse the filtering logic

Martin Klapetek martin.klapetek at gmail.com
Fri Feb 19 20:22:12 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127117/
-----------------------------------------------------------

Review request for KDE Frameworks and KDEPIM.


Repository: kpeople


Description
-------

For filtering multiple properties the logic needs to be OR
rather than AND.

For example in Plasma Mobile, one can start a conversation
either with a phonenumber contact or IM contact, so both
properties need to be requested. But with AND matching it
won't return anything (or only those contacts that have both
and user merged them).


Diffs
-----

  src/personssortfilterproxymodel.cpp b011cbd 

Diff: https://git.reviewboard.kde.org/r/127117/diff/


Testing
-------

I get both phonenumber and IM contacts in Plasma Mobile


Thanks,

Martin Klapetek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160219/59482f1d/attachment.html>


More information about the Kde-frameworks-devel mailing list