You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line 1001 is: if (count($this->activeSelectFilters[$column]) < 1) { it belongs to the following function:
public function removeSelectFilter($column, $key = null)
{
unset($this->activeSelectFilters[$column][$key]);
$this->visibleSelected = $this->selected;
if (count($this->activeSelectFilters[$column]) < 1) {
unset($this->activeSelectFilters[$column]);
}
$this->setPage(1);
$this->setSessionStoredFilters();
}
When testing the same functionality on the livewire tables demo i encountered a similar problem in the "weapon names" column. Here's a screenshot for reference:
I conducted this test on the Google Chrome and Firefox utilizing a Linux Mint 19.3 system OS.
The text was updated successfully, but these errors were encountered:
JoaVitoTavares
changed the title
Bug Report - Issue in Livewire Datatables
Bug Report - Issue when i delete column filter
Jan 24, 2024
The line 1001 is: if (count($this->activeSelectFilters[$column]) < 1) { it belongs to the following function:
public function removeSelectFilter($column, $key = null)
{
unset($this->activeSelectFilters[$column][$key]);
$this->visibleSelected = $this->selected;
if (count($this->activeSelectFilters[$column]) < 1) {
unset($this->activeSelectFilters[$column]);
}
$this->setPage(1);
$this->setSessionStoredFilters();
}
When testing the same functionality on the livewire tables demo i encountered a similar problem in the "weapon names" column. Here's a screenshot for reference:
I conducted this test on the Google Chrome and Firefox utilizing a Linux Mint 19.3 system OS.
I can confirm this bug. It's happening for our project as well.
This issue occurs when i rapidly click to delete the column filter. Recently encountered a bug in my application and traced it to the following file:
mediconesystems/livewire-datatables/src/Http/Livewire/LivewireDatatable.php:1001
The line 1001 is:
if (count($this->activeSelectFilters[$column]) < 1) {
it belongs to the following function:I conducted this test on the Google Chrome and Firefox utilizing a Linux Mint 19.3 system OS.
The text was updated successfully, but these errors were encountered: