Skip to content

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

Open
backportbot[bot] wants to merge 3 commits into
stable33from
backport/61330/stable33
Open

[stable33] fix(files): Open the sidebar for the current folder, not a stale child#61605
backportbot[bot] wants to merge 3 commits into
stable33from
backport/61330/stable33

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 33.0.7 milestone Jun 26, 2026
@kyteinsky

Copy link
Copy Markdown
Contributor

/compile

@kyteinsky kyteinsky marked this pull request as ready for review June 30, 2026 12:54
@kyteinsky kyteinsky requested review from a team and skjnldsv as code owners June 30, 2026 12:54
@kyteinsky

Copy link
Copy Markdown
Contributor

/compile

Signed-off-by: kyteinsky <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the backport/61330/stable33 branch from e2b9b86 to bbe7fa2 Compare June 30, 2026 13:07
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.

3 participants