-
-
Notifications
You must be signed in to change notification settings - Fork 21
fix: support for array notation #77
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
Conversation
fa1025d
to
48f034d
Compare
I converted as draft because I may have a more efficient way to implement this |
ae583fb
to
827f887
Compare
Ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good. Can you please fix the failing static analysis?
Error: Binary operation "." between mixed and ''|'.*' results in an error.
------ ---------------------------------------------------------------------
Line Jobs/DataTableExportJob.php
------ ---------------------------------------------------------------------
236 Binary operation "." between mixed and ''|'.*' results in an error.
🪪 binaryOp.invalid
------ ---------------------------------------------------------------------
|
Fixed |
Released on https://github.com/yajra/laravel-datatables-export/releases/tag/v12.0.2 🚀 Thanks! |
That PR adds support for array notation in exports.
Before that PR, columns using the array notation were exported as empty columns.
Related to yajra/laravel-datatables#3243
Examples:
You can declare columns like this: