Skip to content

[stable34] fix(files): Open the sidebar for the current folder, not a stale child#61606

Draft
backportbot[bot] wants to merge 2 commits into
stable34from
backport/61330/stable34
Draft

[stable34] fix(files): Open the sidebar for the current folder, not a stale child#61606
backportbot[bot] wants to merge 2 commits into
stable34from
backport/61330/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 26, 2026

Copy link
Copy Markdown

Backport of #61330

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

nfebe and others added 2 commits June 26, 2026 10:38
When opening the sidebar for a folder, the route still referenced the file id of a previously opened subfolder. Because that subfolder is listed inside the current folder, the sidebar restored its share and details context instead of the current folder's. The active file id is now kept in sync with the route, so a stale id can no longer be restored.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@backportbot backportbot Bot requested review from nfebe, pringelmann and susnux June 26, 2026 10:38
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Jun 26, 2026
@backportbot backportbot Bot added this to the Nextcloud 34.0.2 milestone Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants