Skip to content

Lock full-page pagination against filtered counts - #9

Merged
GG-O-BP merged 1 commit into
mainfrom
test/pagination-full-page-filtering
Sep 3, 2026
Merged

Lock full-page pagination against filtered counts#9
GG-O-BP merged 1 commit into
mainfrom
test/pagination-full-page-filtering

Conversation

@GG-O-BP

@GG-O-BP GG-O-BP commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • mendraw#16 asked pagination completion to be judged by the raw API item count instead of post-filter widget counts. The rewritten content_api decoder already implements that contract.
  • This PR locks the exact issue scenario with a full 40-item page containing 15 non-widget entries: all_done must stay false (25 filtered widgets would otherwise terminate pagination early), total_items stays 40, and 25 widgets survive filtering.

Fixes glendix-labs/mendraw#16

Verification

  • gleam test — 119 passed.
  • ./scripts/verify.sh inner mxpak — passed.
  • ./scripts/check-all.sh — passed.
  • pre-push verify.sh final — passed (family checks, widget build, Lustre E2E, Mendix full E2E).

@GG-O-BP
GG-O-BP merged commit 0973ff5 into main Sep 3, 2026
@GG-O-BP
GG-O-BP deleted the test/pagination-full-page-filtering branch September 3, 2026 02:02
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.

[sidecar] all_done 계산이 필터링 전 items 길이를 사용해 부정확

1 participant