-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
Description
Hello,
I'm facing some issues that i've tracked down to this commit 45c7faf.
This commit introduces a distinction on the data that is passed to the export handler if the export handler is not exactly Yajra\DataTables\Services\DataTablesExportHandler, so data passed to a custom export handler is different from that passed to the original handler, so custom handlers are passed columns marked as not-exportable or even full related models when using eager loading on the query.
What's the motive for this change?
I think we should change the check to check if the export handler extends the default export handler with is_subclass_of so we use the same data for the default export handler and custom export handlers that extends it.