Skip to content

Commit

Permalink
reset to page 1 on search (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
marksalmon authored Jan 28, 2021
1 parent 4da4efa commit 566bb83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/Livewire/LivewireDatatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,8 @@ public function addGlobalSearch()
}
});

$this->page = 1;

This comment has been minimized.

Copy link
@amit-viacon

amit-viacon Jun 1, 2021

Pagination is not working while searching


return $this;
}

Expand Down

0 comments on commit 566bb83

Please sign in to comment.