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

Exclude deleted entities from extended metadata about entity list #1062

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

matthew-white
Copy link
Member

This PR relates to getodk/central#560 and I think is a major part of the issue there. It looks like we weren't excluding deleted entities from extended metadata about the entity list.

You can see this by looking at the example in the issue: https://staging.getodk.cloud/#/projects/62/entity-lists/trees/entities. There, the count of entities is sometimes off by 1. And there is 1 deleted entity: https://staging.getodk.cloud/v1/projects/62/datasets/trees/entities?deleted=true

What has been done to verify that this works as intended?

New test.

Before submitting this PR, please make sure you have:

  • run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@matthew-white matthew-white merged commit 4d501e2 into master Dec 13, 2023
5 checks passed
@matthew-white matthew-white deleted the entities-count branch December 13, 2023 01:23
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.

2 participants