Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Revert "Remove unnecessary string interpolation"
Browse files Browse the repository at this point in the history
This reverts commit 04bd97b.
  • Loading branch information
wpf500 committed May 16, 2023
1 parent 8697628 commit 1179c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/data/ContactData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export async function fetchPaginatedContacts(
"COALESCE(mp.dateExpires, '-infinity'::timestamp)",
"membershipExpires"
)
.orderBy(query.sort, query.order || "ASC", "NULLS LAST");
.orderBy(`"${query.sort}"`, query.order || "ASC", "NULLS LAST");
break;

// Always put empty first/last names at the bottom
Expand Down

0 comments on commit 1179c31

Please sign in to comment.