Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for creating a filter with an OR expression #45

Open
dsspence opened this issue Dec 21, 2015 · 2 comments
Open

Example for creating a filter with an OR expression #45

dsspence opened this issue Dec 21, 2015 · 2 comments

Comments

@dsspence
Copy link

As far as I can tell there is no way to provide a group of values similar to an IN clause or use the OR operator to filter by multiple values for the same filter field.

@snopoke
Copy link
Contributor

snopoke commented Aug 1, 2018

I think this could be accomplished if repeated filter parameters were combined with an OR:

  • xmlns = A
  • xmlns = B
  • app_id = C

(xmlns = A OR xmlns = B) and app_id = C

@snopoke
Copy link
Contributor

snopoke commented Aug 10, 2018

Took a quick look at this and I think the best solution would require change to both commcare-export (to send multiple GET params) and CommCare HQ (to support multiple GET params)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants