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:
authorSimon L <szaimen@e.mail.de>2022-02-07 13:48:56 +0300
committerGitHub <noreply@github.com>2022-02-07 13:48:56 +0300
commitbb55b79837a677074473e980a6b88d358a118621 (patch)
treeae6a1fa808723e8227e5f6dd824ed8870a014aee
parente0dc82668fdad768346cf0cf752898ccd74fdf37 (diff)
parentebec0a6b3ed50d5f1563992bc7bd1f570749e3e1 (diff)
Merge pull request #30995 from nextcloud/fix/currentFileList-is-incorrect-favorite-share-with-you
Fix bugs with incorrect currentFileList in the favorite and share by you view
-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 33e942bbc72..facbbf09e0e 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -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 = {