Skip to content

Commit 040eb2d

Browse files
committed
Merge branch 'Swanty-patch-1' into develop
2 parents 1b2d3a4 + 167395a commit 040eb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function render(): View
9696
{
9797
return view($this->view(), [
9898
'columns' => $this->columns(),
99-
'models' => $this->paginationEnabled ? $this->models()->paginate($this->perPage) : $this->models()->get(),
99+
'models' => $this->paginationEnabled ? $this->models()->paginate((int) $this->perPage) : $this->models()->get(),
100100
]);
101101
}
102102

0 commit comments

Comments
 (0)