Skip to content

Commit

Permalink
Sorted positions
Browse files Browse the repository at this point in the history
  • Loading branch information
jzongker committed Mar 28, 2024
1 parent a34655d commit 52612ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repositories/PositionRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class PositionRepository {
}

public loadByPlanId(churchId: string, planId: string) {
return DB.query("SELECT * FROM positions WHERE churchId=? AND planId=?;", [churchId, planId]);
return DB.query("SELECT * FROM positions WHERE churchId=? AND planId=? ORDER BY categoryName, name;", [churchId, planId]);
}

}

0 comments on commit 52612ad

Please sign in to comment.