Skip to content

[6.x] Fix site filter not updating after switching sites - #15931

Merged
duncanmcclean merged 1 commit into
6.xfrom
11557
Nov 16, 2026
Merged

duncanmcclean merged 1 commit into
6.xfrom
11557

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request fixes an issue where the entries listing kept showing the previously selected site after switching sites using the global site selector.

This was happening because the listing pushes its filters (including the site filter) into the URL. When selecting a site, we redirect back to the previous URL, so the listing re-applied the old site filter over the newly selected site.

This PR fixes it by switching the site filter in the previous URL to the newly selected site before redirecting back.

Amp thread: https://ampcode.com/threads/T-01a1e4cb-c498-71f6-b724-95d1ede5e3a0

Fixes #11557

@duncanmcclean
duncanmcclean merged commit 2b22541 into 6.x Nov 16, 2026
65 checks passed
@duncanmcclean
duncanmcclean deleted the 11557 branch November 16, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Site filter doesn't update after switching via global site selector

2 participants