You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we created the Institution model (see #776), we overlooked the affiliation field on the IncidentPage model, which is made redundant by it. This affiliation data is the same underlying concept as a targeted institution. Since we have a fair number of incident pages with affiliations, we should write code to copy that existing data to the Institution model and populate the corresponding associations between incidents, targeted journalists, and targeted institutions in order to:
Allow auto-complete for targeted institutions and targeted journalist institutions to search through existing affiliations.
Save time compared with manually copying affiliation data into the new format.
Other notable considerations:
Right now the default affiliation is "Independent." The new default will simply be a blank field for targeted institution and for the institution on targeted journalists.
Nothing about the layout or design of the new institution or targeted journalist fields should change
For incident pages with affiliation data but without any specific targeted journalists, the data should be copied into the targeted_institution field as a fallback.
If a targeted journalist already has been given an institution, the affiliation field data should not be copied over that.
The text was updated successfully, but these errors were encountered:
Based on a conversation with @KAMcCudden and @harrislapiroff
When we created the
Institution
model (see #776), we overlooked theaffiliation
field on theIncidentPage
model, which is made redundant by it. This affiliation data is the same underlying concept as a targeted institution. Since we have a fair number of incident pages with affiliations, we should write code to copy that existing data to theInstitution
model and populate the corresponding associations between incidents, targeted journalists, and targeted institutions in order to:Other notable considerations:
targeted_institution
field as a fallback.The text was updated successfully, but these errors were encountered: