sergiogonzalez/liferay-portal — pull request #262 by KocsisDaniel (2012-05-30 14:30:48+00:00)
Title: [TECH SUPPORT] LPS-27390 Made scope selection working at Site Membership portlet

Hi Sergio,

this PR is to fix the issue when You change the site scope meanwhile you are browsing the site membership tabs. Vilmos had a fix before but per Brian's comment (https://github.com/brianchandotcom/liferay-portal/pull/5433) we should avoid to use the doAsGroupId and the refactored fix caused many regression bugs, so I decided to rollback that until we find a better solution. Now I use the themeDisplay.geScopeGroup since it takes into acoount the doAsGroupId and the request.groupId param only.

I have tested this pr with all the regressions I knew about and I tried think over any possible regression it could cause, but could you please review it carefully as well?

Thanks,
Daniel