I completely overhauled how the cvr_audit_info is tracked, and used, in audits. This eliminates a whole lot of unnecessary database queries. I also restored the functionality of the ballot_under_audit_id to correctly indicate the actual ballot that should be under audit in the sequence we are displaying them, to go with the client changes that have not yet been merged.
I completely overhauled how the
cvr_audit_info
is tracked, and used, in audits. This eliminates a whole lot of unnecessary database queries. I also restored the functionality of theballot_under_audit_id
to correctly indicate the actual ballot that should be under audit in the sequence we are displaying them, to go with the client changes that have not yet been merged.