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

[stable23] Fix bugs with incorrect currentFileList in the favorite and share by you view #31050

Merged
merged 1 commit into from
Feb 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,12 @@
this.setFiles(result);

if (this.dirInfo) {
// Make sure the currentFileList is the current one
// When navigating to the favorite or share with you virtual
// folder, this is not correctly set during the initialisation
// otherwise.
OCA.Files.App && OCA.Files.App.updateCurrentFileList(this);

var newFileId = this.dirInfo.id;
// update fileid in URL
var params = {
Expand Down