Upon a vacancy, the clerk of court shall be appointed by the mayor with the advice and consent, by majority vote, of the city council. The clerk of court shall personally, or in the person of an appropriate designee, attend each session of the municipal court, and perform such duties as the city council may by ordinance direct.