Skip to content

Commit

Permalink
Merge pull request #113 from freshbitsweb/analysis-BojlDg
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
gauravmak authored Jul 25, 2024
2 parents 97025ac + b1973fe commit 0e25485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Laratables.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ private function shouldApplyLimit()
protected function tableData($records)
{
return [
'draw' => request('draw') + 1,
'recordsTotal' => $this->queryHandler->getRecordsCount(),
'draw' => request('draw') + 1,
'recordsTotal' => $this->queryHandler->getRecordsCount(),
'recordsFiltered' => $this->queryHandler->getFilteredCount(),
'data' => $records->toArray(),
'data' => $records->toArray(),
];
}
}

0 comments on commit 0e25485

Please sign in to comment.