-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(reply-zero): use raw SQL for correct distinct pagination
Prisma's `distinct` clause applies AFTER skip/take, causing incorrect pagination. Switch to PostgreSQL DISTINCT ON to apply distinct filtering BEFORE pagination, ensuring consistent page sizes and accurate totals. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Loading branch information
Eliezer Steinbock
and
Claude Opus 4.5
committed
Jan 5, 2026
1 parent
06413c6
commit 851f37d
Showing
1 changed file
with
24 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters