blackberry / BB10-WebWorks-Framework

The BB10 WebWorks Framework is packaged within an application BAR file to run on a BB10 device (or simulator)
61 stars 34 forks source link

Support OR-ing filters in contact search #302

Open rwmtse opened 12 years ago

rwmtse commented 12 years ago

Currently all filters specified in ContactFindOptions are ANDed. Should also be able to support OR-ing them, so that people can search for contacts that has:

kwallis commented 12 years ago

Do we see this changing the API, or being an addition to?

rwmtse commented 12 years ago

I am thinking we can add an extra property to ContactFindOptions which indicates whether the filters should be ANDed or ORed. find() will just look at this property to decide how to treat the filters.

Maybe call this property "mode"?

rwmtse commented 12 years ago

Also, @kwallis let me know when you intend this to go in

nukulb commented 12 years ago

Low priority ~Nukul

From: Rosa Tse [mailto:notifications@github.com] Sent: Thursday, October 11, 2012 04:27 PM To: blackberry/BB10-WebWorks-Framework BB10-WebWorks-Framework@noreply.github.com Subject: Re: [BB10-WebWorks-Framework] Support OR-ing filters in contact search (#302)

Also, @kwallishttps://github.com/kwallis let me know when you intend this to go in

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-WebWorks-Framework/issues/302#issuecomment-9356426.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.