Pagination has stopped working #2455
Unanswered
GlenWarren
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you think the error is on the package side. Then please create an issue with steps to reproduce the problem. Because this is not typical behavior. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure why, but pagination has stopped working for us.
When clicking on (or hovering over) the next page number, the url that we are directed to is
http://localhost/?page=2
instead ofhttp://localhost:5000/admin/users?page=2
. This is happening in all our environments, not just locally.I can't figure out what's changed for this to start happening now. It's as if Orchid is no longer compatible with eloquent's
paginate
methods.In the IndexScreen file, I am applying pagination like this:
I have the same problem when I use
simplePaginate()
.When I navigate manually to the correct url (
http://localhost:5000/admin/users?page=2
) the results on my screen remain the same, as if I am still on page 1. It does not seem to even recognise/process thepage
param.Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions