Skip to content

Commit

Permalink
fix the other identical subquery in /admin/users
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed May 1, 2024
1 parent a94b725 commit 2cd51da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/admin/users.spt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ elif mode == 'new_recipients':
FROM email_blacklist bl
WHERE lower(bl.address) = lower(e.address)
AND (bl.ignore_after IS NULL OR bl.ignore_after > current_timestamp)
ORDER BY bl.ignore_after DESC NULLS FIRST, bl.ts DESC
LIMIT 1
)
)
FROM emails e
Expand Down

0 comments on commit 2cd51da

Please sign in to comment.