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

perf: reduce DB calls made in get_fetch_values (backport #17671) #17738

Merged
merged 1 commit into from Aug 5, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 5, 2022

This is an automatic backport of pull request #17671 done by Mergify.
Conflicts fixed.

@mergify mergify bot requested a review from a team as a code owner August 5, 2022 06:23
@mergify mergify bot requested review from phot0n and removed request for a team August 5, 2022 06:23
@mergify mergify bot added the conflicts label Aug 5, 2022
@sagarvora sagarvora force-pushed the mergify/bp/version-13-hotfix/pr-17671 branch from 51051af to 2d44d86 Compare August 5, 2022 06:26
* perf: reduce DB calls made in `get_fetch_values`

* fix: ensure return value is same as before

* test: add test for `frappe.model.utils.get_fetch_values`

(cherry picked from commit f9bfbfe)
@sagarvora sagarvora force-pushed the mergify/bp/version-13-hotfix/pr-17671 branch from 2d44d86 to ea9af27 Compare August 5, 2022 06:27
@ankush
Copy link
Member

ankush commented Aug 5, 2022

httpbin.org is probs down so webhook test failed.

@ankush ankush merged commit fc58a87 into version-13-hotfix Aug 5, 2022
@ankush ankush deleted the mergify/bp/version-13-hotfix/pr-17671 branch August 5, 2022 06:45
frappe-pr-bot pushed a commit that referenced this pull request Aug 9, 2022
# [13.37.0](v13.36.3...v13.37.0) (2022-08-09)

### Bug Fixes

* allow system managers to toggle email queue ([c004846](c004846))
* allow to import time field ([#17677](#17677)) ([#17690](#17690)) ([59f58c7](59f58c7))
* check permission before sending email ([bb73014](bb73014))
* Dropdown selection list in Reports should be translatable ([#17679](#17679)) ([8c0e5ab](8c0e5ab))
* **global_search:** Trigger rebuilding on Custom Field's property change ([#17705](#17705)) ([b4ff5b2](b4ff5b2))
* max_positive_value for Integer types ([#17712](#17712)) ([#17713](#17713)) ([e173e64](e173e64))
* merge conflict ([2f71fb1](2f71fb1))
* restored patch and remove unused import ([b2232f1](b2232f1))
* return promise ([#17646](#17646)) ([#17666](#17666)) ([d931e26](d931e26))
* Show Report & Dashboard View for File Doctype (backport [#17688](#17688)) ([#17695](#17695)) ([ad09e87](ad09e87))
* version bump regex in automated release ([#17725](#17725)) ([#17726](#17726)) ([a4f682a](a4f682a))

### Features

* Role based permission for Dashboard Chart ([#17634](#17634)) ([#17655](#17655)) ([c3f45e7](c3f45e7))

### Performance Improvements

* reduce DB calls in `frappe.client.get` (and other changes) (backport [#17665](#17665)) ([#17710](#17710)) ([5fe4924](5fe4924))
* reduce DB calls made in `get_fetch_values` ([#17671](#17671)) ([#17738](#17738)) ([fc58a87](fc58a87))
* specify reference doctype in filters ([#17703](#17703)) ([88a59d8](88a59d8))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 13.37.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants