Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Pagination #81

Open
chriseldredge opened this issue Jan 3, 2017 · 0 comments
Open

Feature Request: Pagination #81

chriseldredge opened this issue Jan 3, 2017 · 0 comments

Comments

@chriseldredge
Copy link

chriseldredge commented Jan 3, 2017

The model-records/index route currently uses findAll to load all records of a given type. For adapters and backends that have non-trivial amounts of data, it is not practical to load all records on a single page.

Instead of using findAll, an alternate implementation could use query (with an empty query by default) and use the metadata attributes offset and total to provide a paginated view of records.

Perhaps this approach has already been considered but I couldn't find anything searching issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant