Skip to content

Commit

Permalink
Fixed #5
Browse files Browse the repository at this point in the history
  • Loading branch information
UksusoFF committed May 20, 2020
1 parent 1d20167 commit 2078a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function data(Request $request): Response
);

return response([
'draw' => $request->getAttribute('draw'),
'draw' => $request->getQueryParams()['draw'] ?? '1',
'recordsTotal' => $total,
'recordsFiltered' => $total,
'data' => $rows->map(function($row) {
Expand Down

0 comments on commit 2078a2b

Please sign in to comment.