Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix: Avoid redundant call to buildExcelFile in csv method #191

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

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

yazansalhi
Copy link
Contributor

@yazansalhi yazansalhi commented Jan 17, 2025

What Does This PR Do?

  • Fixes a redundancy in the csv() method where buildExcelFile() was called twice.

Why Is This Needed?

  • Calling buildExcelFile() multiple times introduces unnecessary processing, especially for large datasets.

Fixes #192

@yajra yajra merged commit 7f3ecd1 into yajra:master Jan 18, 2025
2 of 3 checks passed
@yajra
Copy link
Owner

yajra commented Jan 18, 2025

Good catch and thank you for the contributions. Released on https://github.com/yajra/laravel-datatables-buttons/releases/tag/v11.2.2 🚀

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.

Redundant buildExcelFile() Call in csv() Method
2 participants