Skip to content

Commit 1f4bd57

Browse files
committed
order decision makers by last name
1 parent 20adbd7 commit 1f4bd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epictrack-api/src/api/models/staff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def find_active_staff_by_positions(cls, position_ids: List[int]):
6969
"""Return active staffs by position ids."""
7070
return cls.query.filter(
7171
Staff.position_id.in_(position_ids), Staff.is_active.is_(True)
72-
).order_by(asc(Staff.first_name), asc(Staff.last_name))
72+
).order_by(asc(Staff.last_name), asc(Staff.first_name))
7373

7474
@classmethod
7575
def find_all_active_staff(cls):

0 commit comments

Comments
 (0)