Skip to content

Commit

Permalink
Adds in displayOrder orderBy call so it shows the new entry in the ri…
Browse files Browse the repository at this point in the history
…ght place.
  • Loading branch information
gregorylavery committed Jun 20, 2024
1 parent e91d209 commit c8cd60f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/hwcr_outcome_code/hwcr_outcome_code.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export class HwcrOutcomeCodeService {
display_order: true,
active_ind: true,
},
orderBy: {
display_order: "asc",
},
});

const hwcrOutcomeCodes: HwcrOutcomeCode[] = prismaHWCROutcomeCodes.map((prismaHWCROutcomeCodes) => ({
Expand Down

0 comments on commit c8cd60f

Please sign in to comment.