Skip to content

Commit

Permalink
fix(model): fix bad join
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Oct 4, 2024
1 parent 40f42d4 commit ece47ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apptax/taxonomie/repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def get_status(
"""
query = (
select(TaxrefBdcStatutTaxon)
.join(TaxrefBdcStatutCorTextValues, TaxrefBdcStatutText)
.join(TaxrefBdcStatutCorTextValues)
.join(TaxrefBdcStatutText)
.where(TaxrefBdcStatutTaxon.cd_ref == cd_ref, TaxrefBdcStatutText.enable == enable)
)

Expand Down

0 comments on commit ece47ad

Please sign in to comment.