Closed mikemand closed 2 years ago
I am in the process of upgrading a site from v1 to v2, and cannot continue. The upgrade guide says there is a new method for getting the applied filter, and links here: https://rappasoft.com/docs/laravel-livewire-tables/v2/filters/applying-filters#content-apply-filters-at-the-component-level
However, there is no method called getAppliedFilter. There is a getAppliedFilters method with a docblock that suggests it would accept a parameter, but it doesn't actually use any parameters. It also returns applied filters for ALL columns.
getAppliedFilter
getAppliedFilters
you can use $this->getAppliedFilterWithValue('sth') instend
$this->getAppliedFilterWithValue('sth')
This works, i'll update the documentation.
I am in the process of upgrading a site from v1 to v2, and cannot continue. The upgrade guide says there is a new method for getting the applied filter, and links here: https://rappasoft.com/docs/laravel-livewire-tables/v2/filters/applying-filters#content-apply-filters-at-the-component-level
However, there is no method called
getAppliedFilter
. There is agetAppliedFilters
method with a docblock that suggests it would accept a parameter, but it doesn't actually use any parameters. It also returns applied filters for ALL columns.