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

[Issue #3696] Update get agencies endpoint to remove extra queries #3733

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

chouinar
Copy link
Collaborator

Summary

Fixes #3696

Time to review: 5 mins

Changes proposed

Cleanup the way we setup get agencies queries to remove extra/unused logic

Context for reviewers

It looks like two separate queries were setup to do the same thing, but only one is used, trim out the extra one that might actually cause issues because it's setting the top level agency in its loop.

@chouinar chouinar merged commit 5843838 into main Jan 31, 2025
2 checks passed
@chouinar chouinar deleted the chouinar/3696-get-agencies-update branch January 31, 2025 19:47
DavidDudas-Intuitial pushed a commit that referenced this pull request Feb 7, 2025
…3733)

## Summary
Fixes #3696

### Time to review: __5 mins__

## Changes proposed
Cleanup the way we setup get agencies queries to remove extra/unused
logic

## Context for reviewers
It looks like two separate queries were setup to do the same thing, but
only one is used, trim out the extra one that might actually cause
issues because it's setting the top level agency in its loop.
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.

Modify the get_agencies logic to fetch top level agencies using the ORM
2 participants