Open rwmtse opened 12 years ago
Do we see this changing the API, or being an addition to?
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"?
Also, @kwallis let me know when you intend this to go in
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.
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: