F
Filament12mo ago
Wirkhof

Pagination in Denis Koch's Activity Logger doesn't work

When I click on the page 2 in the pager at the bottom of the page. Nothing changes. The Debug Bar shows that Livewire call happened on click but no new page is shown. Any idea why the pagination isn't working in this plugin? Everywhere else, including the Zedox activity logger plugin the pagination works normally.
2 Replies
Wirkhof
WirkhofOP12mo ago
How does one even start to debug stuff like this, right. I assume that it's this plugin fault. Because all other plugins and core stuff work ok, right? Is my reasoning good? Next idea? Check if this plugin uses a custom pagination? How would you debug this issue? The restoring of old value in the plugin works, so are the Activities link in table view. It is also correctly loading everything from the activity_log table in my DB. But the pagination is stuck. No response. It shows the correct number of pages you can paginate to tough. But on click nothing happens, no response, whether you click on the > symbol or the page number itself. The network tab shows two requests on each click.
DrByte
DrByte12mo ago
Best way is to rebuild it for yourself, taking inspiration from the plugin. Some things you'll already know how to build (ie: tables, resources, etc), but then in the plugin's code you'll see various things you've not worked with before, and as you dig into why they're there and what they do, you'll either just learn more about Filament, or you'll suddenly discover what's broken ... whether that's because of a bug in the plugin, or because of something wrong in your own app that's interfering with whatever teh plugin is trying to do.
Want results from more Discord servers?
Add your server