lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton
MIT License
130 stars 50 forks source link

Filters not working with pagination #437

Open daracorcoran opened 6 months ago

daracorcoran commented 6 months ago

Unless I missed a step somewhere, filters are reset when changing pages. It can be solved with saving the filters in the session, although personally I think filters make more sense as GET parameters.

In any case, I don't see a way of choosing which checkboxes are pre-selected based on filters set on the previous page.

dgvirtual commented 6 months ago

Yeh, it should be in the URL, either GET parameters or the URL segments (which is more difficult to implement, although looks nicer).