Skip to content

Commit

Permalink
amend last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
salabh-aot committed Nov 3, 2023
1 parent 5e3332f commit 4409a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epictrack-api/src/api/services/work_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def find_by_work_id(cls, work_id: int):
db.session.query(WorkPhase)
.join(PhaseCode, WorkPhase.phase_id == PhaseCode.id)
.filter(WorkPhase.work_id == work_id, WorkPhase.is_active.is_(True))
.order_by(PhaseCode.id)
.order_by(WorkPhase.id)
.all()
)
return work_phases
Expand Down

0 comments on commit 4409a72

Please sign in to comment.