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

Wysiwyg file chooser pagination #921

Open
ilp416 opened this issue Nov 30, 2020 · 0 comments
Open

Wysiwyg file chooser pagination #921

ilp416 opened this issue Nov 30, 2020 · 0 comments

Comments

@ilp416
Copy link

ilp416 commented Nov 30, 2020

Expected behavior

When I have more than 100 uploaded files I must have some pagination or infinite scroll in file chooser in WYSISYG editor

Actual behavior

When I open choose file dialog it load just first 100 files. I can't select 101 file.

Steps to reproduce

Upload more than 100 files
Install will paginate or kaminari
Create a page with wysiwyg editor, open file chooser.

Problem here: https://github.com/comfy/comfortable-mexican-sofa/blob/master/app/controllers/comfy/admin/cms/files_controller.rb#L21

System configuration

ruby 2.6.0
rails 5.2.4.4
comfortable_mexican_sofa 2.0.19

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