portal fix for quoted search in theme pages