Skip to content

fix: include cursor photo in paginated results - #21

Merged
aspizu merged 1 commit into
mainfrom
apz/fix-photo-pagination
Sep 14, 2026
Merged

aspizu merged 1 commit into
mainfrom
apz/fix-photo-pagination

Conversation

@aspizu

@aspizu aspizu commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Photo pagination used the first excluded row as its cursor, then excluded that row again on the next request. With 52 photos, only 51 appeared across the pages.

Include the cursor photo in subsequent queries for the gallery, album contents, and album photo picker.

Validation: executed all three endpoint SQL queries against the project schema across 10 boundary sizes; every photo appeared exactly once. Server type checks, lint, and pre-commit formatting checks pass.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T18:37:19.844561Z 10d033c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@aspizu
aspizu merged commit 68eda4a into main Sep 14, 2026
5 of 6 checks passed
@aspizu
aspizu deleted the apz/fix-photo-pagination branch September 14, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant