diff --git a/extdbms/lib/Configs/Constant.php b/extdbms/lib/Configs/Constant.php index 569696c..d3f8121 100644 --- a/extdbms/lib/Configs/Constant.php +++ b/extdbms/lib/Configs/Constant.php @@ -1,5 +1,5 @@ getServiceService()->getModel()->setContinue(true); $this->total = $this->getServiceService()->getCount(); $this->entities = $this->getServiceService()->getEntities(); - $this->page = $parmas['page'] ?? 1; - $this->perPage = $parmas['perPage'] ?? 10; + $this->page = $parmas['page'] ?? VIEW_LIST_PAGE; + $this->perPage = $parmas['perPage'] ?? VIEW_LIST_PERPAGE; $this->pagination = new Pagination($this->total, (int)$this->page, (int)$this->perPage); return $this->render(path: __FUNCTION__); }