Skip to content

Conversation

@jvwong
Copy link
Member

@jvwong jvwong commented Oct 2, 2020

Using react-paginate. In any case, it makes sense for the client to have the total number of docs, so I hacked it as a custom header (X-Document-Count) so I didn't break the /api/document/ GET for anyone.

Refs #841

- Expose header for total number of docs
@jvwong jvwong requested a review from maxkfranz October 2, 2020 17:29
@maxkfranz maxkfranz merged commit 68d09e7 into unstable Oct 2, 2020
@jvwong jvwong deleted the iss841_admin-pagination branch October 2, 2020 18:29
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

Successfully merging this pull request may close these issues.

3 participants