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

Shared folder only displaying one file #10358

Closed
weeman1337 opened this issue Jul 23, 2018 · 2 comments
Closed

Shared folder only displaying one file #10358

weeman1337 opened this issue Jul 23, 2018 · 2 comments
Assignees
Milestone

Comments

@weeman1337
Copy link
Member

Steps to reproduce

  1. Create a folder
  2. Put at least two files into it
  3. Share the folder by link
  4. Open the shared link in a private tab/window

Expected behaviour

All the files are listed.

Actual behaviour

Online one file is listed.

Server configuration

Nextcloud version: 14.0.0 alpha
Where did you install Nextcloud from: git

@weeman1337 weeman1337 added the bug label Jul 23, 2018
@weeman1337
Copy link
Member Author

The issue is caused by the page size calculation based on the scroll container, happening in apps/files/js/filelist.js pageSize(). I tracked it down to this commit: 8425830 . It removed the content-wrapper DIV and put the #app-content scroll container selector into the script instead. An element with the id app-content doesn't exist and so the page size is set to 1 → displaying one file.

@skjnldsv
Copy link
Member

Yep, we maybe rushed this pr a bit too fast. But I'd rather fix things quickly now! :)
Thanks for finding this out, we need to adapt the guest page to the new structure!

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

No branches or pull requests

3 participants