-
Notifications
You must be signed in to change notification settings - Fork 324
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
District Filter to display State's name along with the district's name #1735
Conversation
to_representation method
@nihal467 @GokulramGHV, can you check if this isnt affecting other district fields? |
@sainak I've checked the frontend and I've not found any instance where district name is used directly instead of district id. |
@GokulramGHV can you check why the test is failing? |
This might create a ton of N+1 queries if the query does not select the state as well. |
This MR is going to be closed, if this feature is required, the state has to be serialized as a separate field. |
Proposed Changes
Associated Issue
Merge Checklist
/docs
Only PR's with test cases included and passing lint and test pipelines will be reviewed
@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins