Problem/Motivation
So when a user has 2 browse(Project browser) tabs open and if a user changes the value of number of modules that the user wants to see from say 12 items per page to 24 items per page and then visit the second tab and refresh the tab, then ideally it should also have the change in the value of pagination reflected ie now no of items per page should be set to 24 for both the tabs.
Steps to reproduce
Open 2 browse windows and then set the value of items per page to any thing other than the default value and then navigate to the other browser tab and refresh.
You would notice different values in Items per page across the 2 tabs.
Proposed resolution
Issue fork project_browser-3480064
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
utkarsh_33 commentedComment #4
utkarsh_33 commentedNot sure whether this needs test or not.
Comment #5
chrisfromredfinI think it does because I think if we revert the change accidentally elsewhere we'd want to know.
Comment #6
chrisfromredfinComment #7
narendrarDiscussed with @fjgarlin over slack at https://drupal.slack.com/archives/C01UHB4QG12/p1732554159976349?thread_ts=1732533199.035789&cid=C01UHB4QG12 that this issue requires a new endpoint in
DrupalOrgClientMiddleware. But filter ID's are changed on DO, so an update in fixture is required before working on this issue further. Next steps once fixture is regenerated:Comment #8
fjgarlin commentedI'm doing the fixes for the regeneration script at #3489810: Improve fixture regeneration script
Comment #9
utkarsh_33 commentedThis is ready for reviews now.The CI fails are unrelated.
Comment #10
chrisfromredfinI have one small nit (filename) and then this needs manual testing but then is probably ready to go.
Comment #11
utkarsh_33 commentedReady for review and manual testing.
Comment #12
narendrarTested manually, and the change in page size in one tab is properly reflected in another tab. Moving it to RTBC.
Comment #14
chrisfromredfinteamwork makes the dream work.