Ordinance on yard sales passes with majority vote