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: don't fetch all rows just to count them #538

Open
ankush opened this issue Jan 22, 2025 · 0 comments
Open

perf: don't fetch all rows just to count them #538

ankush opened this issue Jan 22, 2025 · 0 comments

Comments

@ankush
Copy link
Member

ankush commented Jan 22, 2025

crm/crm/api/doc.py

Lines 372 to 374 in 9c59e4d

all_count = len(
frappe.get_list(doctype, filters=convert_filter_to_tuple(doctype, new_filters))
)

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

No branches or pull requests

1 participant