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
I am working on implementing an API that is using pagination for pagination and than another service that uses pagination to display the view.
The issue I am running into is the view helpers.
In the API if I just run "as_json" on the paginated results, it will only have the results with no paginate data.
After searching I found someone suggesting I do:
But same issue.
I am trying to figure out if there is a better way to be doing this (I want to do paginate api side due to the number of records).
I tried to figure out if there was a way I could send the options into page_entries_info as a hash but I could not find it documented anywhere.
The text was updated successfully, but these errors were encountered:
I am working on implementing an API that is using pagination for pagination and than another service that uses pagination to display the view.
The issue I am running into is the view helpers.
In the API if I just run "as_json" on the paginated results, it will only have the results with no paginate data.
After searching I found someone suggesting I do:
But same issue.
I am trying to figure out if there is a better way to be doing this (I want to do paginate api side due to the number of records).
I tried to figure out if there was a way I could send the options into page_entries_info as a hash but I could not find it documented anywhere.
The text was updated successfully, but these errors were encountered: