All users listed
I'm using Wave 2.0, I passed the number of 5K registered users and problems started to appear. Previously, the user page was loading very slowly, I couldn't find time to focus on this problem.
After doing my checks, I realized that while the user page is loading, it lists all users, the page is extremely slow, and it gives a "504 Gateway Time-out" error. To fix this problem, I enabled users' BREAD Server-side paging, but it gave an error. (I have uploaded a screenshot of the error)
Could you please give me a hint on how to solve this problem? A normal listing is enough for me.
Hi there,
Thanks for reporting that problem!
Indeed enabling server-side pagination via your BREAD editor is the way to go.
Regarding the error that you are seeing, it seems like that Voyager has made some updates to the template file, luckily the fix is pretty straightforward. You just need to update the user browse blade template with:
cp vendor/tcg/voyager/resources/views/bread/browse.blade.php resources/views/vendor/voyager/users/browse.blade.php
I have submitted a PR with a fix for this here:
https://github.com/thedevdojo/wave/pull/78
Let me know if anything else pops up!
Best,
Bobby
















Happy to hear that it is all working!