Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
yajra merged 1 commit into yajra:master from yazansalhi:master
Jan 18, 2025

Conversation

@yazansalhi
Copy link
Contributor

@yazansalhi yazansalhi commented Jan 17, 2025
edited
Loading

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 reacted with heart emoji
Copy link

@yajra yajra merged commit 7f3ecd1 into yajra:master Jan 18, 2025
2 of 3 checks passed
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 🚀

yazansalhi reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yajra yajra yajra approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Redundant buildExcelFile() Call in csv() Method

2 participants

AltStyle によって変換されたページ (->オリジナル) /