-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination error #546
Comments
If I change the Pager template in bonfire/Views/_table.php from 'bonfire_full_hx' to 'bonfire_full' it works ok. |
@hilaryb, thanks for reporting this, although I knew about this issue. This is a problem of incompatibility between the CI4 Debug toolbar and HTMX calls. Another manifestation you can see in the use of the filter of user list; the first filter checkbox works, the subsequent - do not. There are two ways to deal with it. First, you can swith to production mode. No debug toolbar = no issue. Second solution - you could install a package by @michalsn to deal with it automatically (no other changes required, unless you are still on php 7):
Perhaps we should add it to dependencies (except that we do not use any other sweet functionality it provides, so maybe to development requirements?). Changing the pager to |
@dgvirtual, Thanks for the reply. I will install the package you suggested and see if that fixes the problem. Thank you so much for your help. |
@dgvirtual Installed the package and now working ok. Thank you again. |
I will think about how to best deal with this issue before marking it as closed... The best way seems to be to include @michalsn codeigniter-htmx package into |
On the Users list, the first click on a pagination button works ok but subsequent clicks produce a silent error in the browser console and navigation to next page does not work. The Filter selection on the users page also produces the same error.
The text was updated successfully, but these errors were encountered: