diff --git a/src/Rest/CrudExtendedController.php b/src/Rest/CrudExtendedController.php index 690ba99..4e18a29 100755 --- a/src/Rest/CrudExtendedController.php +++ b/src/Rest/CrudExtendedController.php @@ -99,6 +99,7 @@ public function index($id = null): Response 'limit' => $limit, 'page' => $this->request->getQuery('page', 'int', 1), 'total_pages' => ceil($count / $limit), + 'total_rows' => $count ]; }