diff --git a/src/etools_datamart/apps/mart/data/models/intervention_activity.py b/src/etools_datamart/apps/mart/data/models/intervention_activity.py index b7a32fc9..7082a7fd 100644 --- a/src/etools_datamart/apps/mart/data/models/intervention_activity.py +++ b/src/etools_datamart/apps/mart/data/models/intervention_activity.py @@ -38,7 +38,15 @@ class Meta: class Options: source = ReportsInterventionactivityitem depends = (Intervention,) - mapping = dict() + mapping = dict( + activity='activity.name', + activity_details='activity.context_details', + activity_unicef_cash='activity.unicef_cash', + activity_cso_cash='activity.cso_cash', + activity_code='activity.code', + ll_name='activity.result.name', + ll_code='activity.result.code' + ) queryset = lambda: ReportsInterventionactivityitem.objects.select_related( 'activity__result__result_link__intervention__agreement__partner' )