LPS-40752 fix compilation problem in SO activities portlet (and apply Search Container pattern)