(a) This section is adopted pursuant to the authority granted by Ga. Const. art. IX, § II, ¶ I, and art. IX, § II, ¶ III. (b) In all actions filed against the governing authority of the county, or any office or officer thereof, the county shall pursue all rights of action and recovery against the plaintiff, and all parties therein, in each case wherein such party does not prevail on the merits.