Equal rights ordinance will go to trial