Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-02-18 17:52:32 +0300
committerGitHub <noreply@github.com>2022-02-18 17:52:32 +0300
commitde9e61ab6593533831b69da275427e26f0b529ff (patch)
treeff70e695c119ce168ecd7325db29d623804f42b3 /apps/files
parent806d7024587a15cfef379d396e3b1dfe31975771 (diff)
parent44c9b2de8b157894b05a8f519bae92be9e1d8535 (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.js6
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 = {