Details
Description
when updating any location-type block (e.g. address), we run it through handlePrimary() to see if that record is being set as primary and others need to be unset, etc.
currently that function first sets all block records to is_primary = 0, then proceeds with setting the appropriate one to is_primary. that unnecessarily causes two hits on the logging table for addresses that are being modified.
the following patch removes the modified address from that second hit.
https://github.com/nysenate/Bluebird-CRM/commit/282096d23babdd10113afdf056e0154a9def0fdf