Skip to content

Commit

Permalink
Set the $provider attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Sep 25, 2018
1 parent 1818eab commit d32c140
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Controller/AbstractDataTablesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ protected function getDataTablesWrapper(DataTablesProviderInterface $dtProvider)
// Initialize the wrapper.
$dtWrapper = new DataTablesWrapper($dtProvider->getMethod(), $url, $dtProvider->getName());
$dtWrapper->getMapping()->setPrefix($dtProvider->getPrefix());
$dtWrapper->setProvider($dtProvider);

// Handle each column.
foreach ($dtProvider->getColumns() as $dtColumn) {
Expand Down

0 comments on commit d32c140

Please sign in to comment.