Skip to content

Commit db71838

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 64720af commit db71838

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/widgets/approvedARAndTRByGoalCategory.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ async function getApprovedTRCountsByCategory(
135135
THEN "sessionReports"."data"->'recipients'
136136
ELSE '[]'::jsonb END
137137
) AS r("label" text, "value" text)
138-
INNER JOIN "Grants" AS g
139-
ON g."id"::text = r."value"
140-
WHERE g."id" IN (${grantIdList})
138+
WHERE r."value" = ANY (ARRAY[${grantIdTextList}]::text[])
141139
)`),
142140
],
143141
},

0 commit comments

Comments
 (0)