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

Instance expression without choice filter returns first value only when used in nodeset context #803

Open
lognaturel opened this issue Oct 15, 2024 · 0 comments

Comments

@lognaturel
Copy link
Member

Forum post: https://forum.getodk.org/t/collect-choice-filter-using-instance-requires-additional-term-to-function/49518

join(' ',instance('submissions')/root/item/state) is expected to return all states joined together but only returns the first state.

These expressions have the expected behavior:

  • join(' ',instance('submissions')/root/item[country=${country}]/state
  • join(' ',instance('submissions')/root/item[name!='']/state
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

1 participant