Skip to content

Commit f69a79e

Browse files
authored
Merge pull request #31050 from nextcloud/backport/30995/stable23
[stable23] Fix bugs with incorrect currentFileList in the favorite and share by you view
2 parents 580feb4 + 8170229 commit f69a79e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/files/js/filelist.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,6 +2293,12 @@
22932293
this.setFiles(result);
22942294

22952295
if (this.dirInfo) {
2296+
// Make sure the currentFileList is the current one
2297+
// When navigating to the favorite or share with you virtual
2298+
// folder, this is not correctly set during the initialisation
2299+
// otherwise.
2300+
OCA.Files.App && OCA.Files.App.updateCurrentFileList(this);
2301+
22962302
var newFileId = this.dirInfo.id;
22972303
// update fileid in URL
22982304
var params = {

0 commit comments

Comments
 (0)