Skip to content

Commit

Permalink
[ch33320] fix on intervention-activity loader error (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
emaciupe authored Mar 20, 2023
1 parent 2e2088e commit a0fdd68
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
Expand Down

0 comments on commit a0fdd68

Please sign in to comment.