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

Copy plan fix #1460

Closed
wants to merge 2 commits into from
Closed

Copy plan fix #1460

wants to merge 2 commits into from

Conversation

JayanthBontha
Copy link
Contributor

Proposed Changes

Fixed bug causing the Copy of nutrition plan to be empty ( issue #1278 )
-It was caused by lazy querying of meals in the plan and the item copy not being saved properly. Fixed it by select_related().
-Optimal and reduces queries.

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Added yourself to AUTHORS.rst

Other questions

  • Do users need to run some commmands in their local instances due to this PR
    (e.g. database migration)?
    No.

@JayanthBontha JayanthBontha deleted the CopyPlanFix branch October 17, 2023 07:40
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.

1 participant