Skip to content

Commit

Permalink
Bugfix: Reset current page on update PerPage
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Jun 17, 2024
1 parent 4ae76e9 commit d9394da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Livewire/People/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ class Search extends Component
['value' => 100, 'label' => 100],
];

public function updatedPerpage(): void
{
$this->resetPage();
}

// ------------------------------------------------------------------------------
public function render()
{
Expand Down

0 comments on commit d9394da

Please sign in to comment.