Skip to content

Commit 8bbfaec

Browse files
authored
Merge pull request #2523 from bcgov/hotfix-1.0.4.2
fix: missing joins on other uses
2 parents f93ac99 + 4d37f57 commit 8bbfaec

File tree

1 file changed

+2
-0
lines changed
  • backend/lcfs/web/api/other_uses

1 file changed

+2
-0
lines changed

backend/lcfs/web/api/other_uses/repo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ async def get_other_use(self, other_uses_id: int) -> OtherUses:
279279
joinedload(OtherUses.fuel_category),
280280
joinedload(OtherUses.fuel_type),
281281
joinedload(OtherUses.expected_use),
282+
joinedload(OtherUses.provision_of_the_act),
283+
joinedload(OtherUses.fuel_code),
282284
)
283285
.where(OtherUses.other_uses_id == other_uses_id)
284286
)

0 commit comments

Comments
 (0)