Skip to content

Commit d6b8de4

Browse files
committed
fix issue where displayable columns cannot be configured properly when there is column which is not exist in the table (eg, column generated using aggregate function)
1 parent 16f2993 commit d6b8de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Http/Controllers/DataTableController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ protected function getRecords(Request $request)
221221
// - page (defaults to `PAGE_NUM`)
222222
->paginate(
223223
$request->query('perPage', self::PER_PAGE),
224-
self::getDisplayableColumns(),
224+
$this->getDisplayableColumns(),
225225
get_class($this),
226226
$request->query('page', self::PAGE_NUM)
227227
);

0 commit comments

Comments
 (0)