Skip to content

Commit

Permalink
use effective date not created id since we might import old stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Jul 6, 2024
1 parent baeaf99 commit da4040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/api.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const claimsFeed = async (
INNER JOIN "Node" as n3 on e2."endNodeId" = n3.id
INNER JOIN "Claim" as c on e."claimId" = c.id
WHERE NOT (n1."entType" = 'CLAIM' and e.label = 'source')
ORDER BY c.id DESC
ORDER BY c."effectiveDate" DESC
LIMIT ${limit}
OFFSET ${offset}
`;
Expand Down

0 comments on commit da4040c

Please sign in to comment.