Skip to content

Commit

Permalink
Merge pull request #425 from picsoritdidnthappen/Accepted-bounty-pop-…
Browse files Browse the repository at this point in the history
…to-position-one

fix: issue #151
  • Loading branch information
picsoritdidnthappen authored Dec 13, 2024
2 parents f08c8e8 + 52ecabf commit fb59b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trpc/routers/_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const appRouter = createTRPCRouter({
},
...(input.cursor ? { id: { lt: input.cursor } } : {}),
},
orderBy: { id: 'desc' },
orderBy: [{ is_accepted: 'desc' }, { id: 'desc' }],
take: input.limit,
select: {
id: true,
Expand Down

0 comments on commit fb59b96

Please sign in to comment.