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

File Admin pagination? #2154

Open
caffeinatedMike opened this issue Oct 12, 2021 · 1 comment
Open

File Admin pagination? #2154

caffeinatedMike opened this issue Oct 12, 2021 · 1 comment

Comments

@caffeinatedMike
Copy link
Contributor

caffeinatedMike commented Oct 12, 2021

Aside from difficulties in implementing a custom FileAdmin (documentation is a bit lacking), one thought I had while reviewing the code of both existing FileAdmin modules was "Why can't I find any sort of pagination?". If I were to have thousands of hosted images, given the current structure of FileAdmin all images would be requested from the api in one go and rendered with pagination on the front-end. This seems terribly inefficient (and costly in terms of API rate-limits).

Is it possible to implement proper ajax pagination to FileAdmin? I saw in the original pull request #1154 that implemented the s3 FileAdmin there was a comment about implementing pagination (link), but it never seemed to make it into the FileAdmin.

@caffeinatedMike
Copy link
Contributor Author

caffeinatedMike commented Oct 23, 2021

Approaches:

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

No branches or pull requests

2 participants