Changes for show all portals plugin