diff --git a/ixmp4/data/db/optimization/table/repository.py b/ixmp4/data/db/optimization/table/repository.py index 98f8cf22..40d5d09d 100644 --- a/ixmp4/data/db/optimization/table/repository.py +++ b/ixmp4/data/db/optimization/table/repository.py @@ -50,7 +50,7 @@ def add( ) -> Table: table = Table(name=name, run__id=run_id) indexsets = self.backend.optimization.indexsets.list( - name__in=constrained_to_indexsets + name__in=constrained_to_indexsets, run_id=run_id ) for i in range(len(indexsets)):