Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/das/src/api/miners/miners.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ export class MinersService {
SELECT${PR_SELECT_COLUMNS}
FROM pull_requests p
LEFT JOIN pr_review_summary rs
ON rs.repo_full_name = p.repo_full_name
ON LOWER(rs.repo_full_name) = LOWER(p.repo_full_name)
AND rs.pr_number = p.pr_number
LEFT JOIN repos r
ON r.repo_full_name = p.repo_full_name
ON LOWER(r.repo_full_name) = LOWER(p.repo_full_name)
WHERE p.author_github_id = $1
AND (
(p.state = 'OPEN' AND p.created_at >= $2)
Expand Down Expand Up @@ -234,10 +234,10 @@ export class MinersService {
JOIN windows w
ON w.repo_full_name = LOWER(p.repo_full_name)
LEFT JOIN pr_review_summary rs
ON rs.repo_full_name = p.repo_full_name
ON LOWER(rs.repo_full_name) = LOWER(p.repo_full_name)
AND rs.pr_number = p.pr_number
LEFT JOIN repos r
ON r.repo_full_name = p.repo_full_name
ON LOWER(r.repo_full_name) = LOWER(p.repo_full_name)
WHERE p.author_github_id = $1
AND (
(p.state = 'OPEN' AND p.created_at >= w.since)
Expand Down
Loading