You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so right now I have 2 entry in my collection and in my controller index code i have the following
` {query, rummage} =
Post
|> Rummage.Ecto.rummage(params["rummage"])
which says goto page 10, it is still return the first 2 entries? Shouldnt it return 0 return for anything outside of page 1.
This should not be the correct behavior, especially when using infinite scroll that depends on paginating the data set. when you scroll the bottom, it keeps return the same 2 result over and over end with no end.
The text was updated successfully, but these errors were encountered:
so right now I have 2 entry in my collection and in my controller index code i have the following
` {query, rummage} =
Post
|> Rummage.Ecto.rummage(params["rummage"])
the issue is that when I run
http://localhost:4000/api/blogs/2/posts?rummage[paginate][page]=10
which says goto page 10, it is still return the first 2 entries? Shouldnt it return 0 return for anything outside of page 1.
This should not be the correct behavior, especially when using infinite scroll that depends on paginating the data set. when you scroll the bottom, it keeps return the same 2 result over and over end with no end.
The text was updated successfully, but these errors were encountered: