If the search or filter is active, we must display the count of checked rows only for "visible" items (results of search or filtered results). Therefore, the toggleSelectAll() method must also check or uncheck all "visible" items when the search or filters are active.
See the gif below in order to view the correct behavior (what this PR brings)
If the search or filter is active, we must display the count of checked rows only for "visible" items (results of search or filtered results). Therefore, the toggleSelectAll() method must also check or uncheck all "visible" items when the search or filters are active. See the gif below in order to view the correct behavior (what this PR brings)![bugfix-checkboxes-beahavior-livewire-datatables](https://user-images.githubusercontent.com/16756085/200591652-37d2c465-6d4d-4ca4-b54b-869ed085374a.gif)