Page 1 + Filter + Pagereload + Table = works so far, although I haven't been able to preselect a checkbox only the first time I open it. The real problem is that when I press 1 in the pagination, all the filters that have been set are gone!
Forums
CF8 - Filter + PageReload + Table + Pagination
preselect a checkbox only the first time I open it
what does that mean ?
The real problem is that when I press 1 in the pagination, all the filters that have been set are gone!
Do you submit the page ? if yes then the values should be kept in the data, you can verify this if you enable the form debug
Demo!
I think this should be fixed in v8.0.29
do you have search/filter with checkboxes or multi dropdown ? this is where the issue occurs
When you click on the pagination, the filters are no longer reset, thanks BUT: Set filter 1 and search, click on the last page of the pagination, then set another filter! Unfortunately, the page does not jump to start_at=0! This shows that there are no results! Even though there may be 2 records!
how do you filter ?
for me it works when I set my filter as a dropdown and set an Event to "submit form" when the dropdown value changes
I use checkboxes, read the values using PHP and generate SQL values as variables. I insert the variables into the Where fields.
with automatic filtering using the List Filter behavior it should work, if you want to do it yourself then you need to use the following code:
if(!empty($_POST)){
$this->data["start_at"] = 0;
}