diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-02-18 17:52:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 17:52:32 +0300 |
commit | de9e61ab6593533831b69da275427e26f0b529ff (patch) | |
tree | ff70e695c119ce168ecd7325db29d623804f42b3 /apps/files | |
parent | 806d7024587a15cfef379d396e3b1dfe31975771 (diff) | |
parent | 44c9b2de8b157894b05a8f519bae92be9e1d8535 (diff) |
Merge pull request #31051 from nextcloud/backport/30995/stable22
[stable22] Fix bugs with incorrect currentFileList in the favorite and share by you view
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 164f7695434..b2dbcf7fd43 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2293,6 +2293,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 = { |