- Added a new Field Mapper to SQLs Adapters.
- Defined missing MySQL fields attributes - WIP on lean-console's migration methods
This commit is contained in:
1 parent
5f4f23a8e4
commit
411992c7a8
17 files changed
+214
-8
No files matched your search
@@ -44,7 +44,7 @@ trait SearchRequestPaginationTrait {
|
||||
|
||||
public function pageCount() : int
|
||||
{
|
||||
return $this->pageCount = ceil($this->count() / $this->limit());
|
||||
return $this->limit() ? $this->pageCount = ceil($this->count() / $this->limit()) : 1;
|
||||
}
|
||||
|
||||
public function hasPagination() : int
|
||||
|
||||
Reference in new issue
Block a user