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

Allow HE quals with no link to dfeta_hequalification table #1253

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

hortha
Copy link
Contributor

@hortha hortha commented Mar 21, 2024

Context

The V3 API returns HE quals but we’re currently filtering out those without a populated dfeta_hequalification.dfeta_name

Changes proposed in this pull request

Amend the API to not require the field to be populated (return null instead).
Addtionally, do no return HE quals whicha have 0 HE subjects associated with them.

@hortha
Copy link
Contributor Author

hortha commented Mar 21, 2024

@hortha hortha force-pushed the fix-returning-he-quals-from-api branch from fd4e865 to 5805e8c Compare April 3, 2024 09:09
@hortha hortha requested a review from gunndabad April 3, 2024 09:33
Amended to only return HE quals with at least one subject + added tests

Removed commented out code

Removed unnecessary code

Removed commented out code
@hortha hortha force-pushed the fix-returning-he-quals-from-api branch from 713726b to c970f68 Compare April 3, 2024 09:44
@hortha hortha merged commit 48721ce into main Apr 3, 2024
13 checks passed
@hortha hortha deleted the fix-returning-he-quals-from-api branch April 3, 2024 10:07
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