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

fix: dataElementIdScheme should not filter events DHIS2-14968 #19267

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

teleivo
Copy link
Contributor

@teleivo teleivo commented Nov 22, 2024

dataElementIdScheme!=UID filters out events without a data value while it should not.

I don't remember exactly at what stage I needed the where, maybe when I tried approach #19123.

dataElementIdScheme was introduced in

#19153

dataElementIdScheme!=UID adds a join from the JSONB dataValues keys on dataelement in the parent query. There cannot be an empty JSON key. The JSON key is a data element UID that is validated on import.

@teleivo teleivo marked this pull request as ready for review November 22, 2024 14:53
@teleivo teleivo requested a review from a team as a code owner November 22, 2024 14:53
@larshelge larshelge merged commit 857b68b into master Nov 23, 2024
15 checks passed
@larshelge larshelge deleted the DHIS2-14968-datavalues branch November 23, 2024 19:15
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.

3 participants