Skip to content

Commit

Permalink
sort by percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Dec 29, 2024
1 parent 60e181a commit 97441c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/global/extensions/{id}/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export = new globalAPIRouter.Path('/')
)
.where(sql`ext->>'identifier' = ${extension.identifier}`)
.groupBy(sql`ext->>'version'`)
.orderBy(desc(sql`ext->>'version'`)),
.orderBy(desc(sql`percentage`)),
time(5).m()
)

Expand Down

0 comments on commit 97441c7

Please sign in to comment.