JonathanGarro / SIMS-Portal

IFRC Surge Information Management Support Portal
4 stars 4 forks source link

About page: Most recent SIMS activation disaster not populating #13

Closed katherinelilly closed 1 year ago

katherinelilly commented 1 year ago
Screen Shot 2023-03-17 at 1 55 19 PM

"SIMS has been activated 58 times since its inception in 2013, most recently in response to the Testasdf." - the name of the most recent activation isn't populating.

JonathanGarro commented 1 year ago

thanks Katie - this pulls based on the "date created" field on the emergency. i did this assuming emergencies would get added in sequential order as we respond to them. but if there are cases where we create an emergency that we missed in the database, we'll just need to manually edit that field to prevent it from showing up as the latest. this can be done via Admin Portal > Admin Backend > Emergencies