diff --git a/repair/apps/statusquo/views/computation.py b/repair/apps/statusquo/views/computation.py index 3f4a3e7ab..006898d3a 100644 --- a/repair/apps/statusquo/views/computation.py +++ b/repair/apps/statusquo/views/computation.py @@ -49,7 +49,8 @@ def get_queryset(self, indicator_flow, geom=None): hazardous = indicator_flow.hazardous.name avoidable = indicator_flow.avoidable.name - flows = get_annotated_fractionflows(self.keyflow_pk, strategy=self.strategy) + flows = get_annotated_fractionflows(self.keyflow_pk, + strategy_id=self.strategy.id) # filter flows by type (waste/product/both) if flow_type != 'BOTH':