From 3af3e1faf2e7c09a09f73286327396b6cfd21ab8 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Tue, 14 Feb 2023 16:37:09 +1300 Subject: [PATCH] Order plan workouts alphabetically Closes #150 --- EditPlan.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/EditPlan.tsx b/EditPlan.tsx index 0853fdd..ab42c39 100644 --- a/EditPlan.tsx +++ b/EditPlan.tsx @@ -32,6 +32,7 @@ export default function EditPlan() { .createQueryBuilder() .select('name') .distinct(true) + .orderBy('name') .getRawMany() .then(values => { console.log(EditPlan.name, {values})