Order plan workouts alphabetically

Closes #150
This commit is contained in:
Brandon Presley 2023-02-14 16:37:09 +13:00
parent 7bc9c00a63
commit 3af3e1faf2
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export default function EditPlan() {
.createQueryBuilder() .createQueryBuilder()
.select('name') .select('name')
.distinct(true) .distinct(true)
.orderBy('name')
.getRawMany() .getRawMany()
.then(values => { .then(values => {
console.log(EditPlan.name, {values}) console.log(EditPlan.name, {values})