Skip to content

Commit

Permalink
Merge pull request #31051 from nextcloud/backport/30995/stable22
Browse files Browse the repository at this point in the history
[stable22] Fix bugs with incorrect currentFileList in the favorite and share by you view
  • Loading branch information
PVince81 authored Feb 18, 2022
2 parents 806d702 + 44c9b2d commit de9e61a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit de9e61a

Please sign in to comment.