Skip to content

IA-5505 enketo inject groups ids and names, optimize number of queries - #3410

Open
mestachs wants to merge 1 commit into
developfrom
IA-5470-enketo-mobile-groups-current_ou-parents-injectables
Open

mestachs wants to merge 1 commit into
developfrom
IA-5470-enketo-mobile-groups-current_ou-parents-injectables

Conversation

@mestachs

@mestachs mestachs commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

What problem is this PR solving?

allow to access group names and ids

Related JIRA tickets

IA-5505 (associated mobile jira IA-5470)

Changes

  • inject the variables with similar templates
  • optimize to not query unnecessary things while forms don't use it at all (most forms)

How to test

  • start iaso and enketo
docker compose -f docker-compose.yml -f docker/docker-compose-enketo.yml up
  • create a new form with : iaso/tests/fixtures/form_with_org_unit_groups_injectables.xlsx
  • create a submission and verify data is ok afterwards in iaso
  • move that submission to another orgunit (this won't change any values in the submission, that's a known limitation and accepted, since the form logic might require you to fill in different questions)
image - edit in enketo the new values will be injected (any data/logic that depend on it might need to be filled in)

Print screen / video

image

Notes

Doc

Tell us where the doc can be found (docs folder, wiki, in the code...).

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant