Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 25, 2024
1 parent 97025ac commit b1973fe
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 b1973fe

Please sign in to comment.