Skip to content

Commit 5486e3f

Browse files
committed
Merge branch 'KenLewis-patch-1' into develop
2 parents bd80eeb + 34ffc95 commit 5486e3f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Traits/Pagination.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,13 @@ public function updatingSearch(): void
5555
{
5656
$this->resetPage();
5757
}
58+
59+
/**
60+
* https://laravel-livewire.com/docs/pagination
61+
* Resetting Pagination After Changing the perPage.
62+
*/
63+
public function updatingPerPage(): void
64+
{
65+
$this->resetPage();
66+
}
5867
}

0 commit comments

Comments
 (0)