Skip to content

Commit

Permalink
Update src/graphql/operations/votes.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Oct 29, 2024
1 parent 5011e5f commit 5f94a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql/operations/votes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function query(parent, args, context?, info?) {
const query = `
SELECT v.* FROM votes v
WHERE 1 = 1 ${queryStr}
ORDER BY ${orderBy} ${orderDirection} LIMIT ?, ?
ORDER BY ${orderBy} ${orderDirection}, v.id ASC LIMIT ?, ?
`;
params.push(skip, first);
try {
Expand Down

0 comments on commit 5f94a4f

Please sign in to comment.