Skip to content

fix: set startKey for _design_docs next page#726

Merged
ricellis merged 1 commit intomainfrom
fix-design-docs-paging
Aug 12, 2025
Merged

fix: set startKey for _design_docs next page#726
ricellis merged 1 commit intomainfrom
fix-design-docs-paging

Conversation

@ricellis
Copy link
Copy Markdown
Member

@ricellis ricellis commented Aug 12, 2025

PR summary

Fix _design_docs pagination

Fixes: part of s1082

Note: An existing issue is required before opening a PR.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the
    Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features) - discovered in WIP gauge tests
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

Design docs paging sets a key instead of a start_key so can only get 1 page + 1 doc

What is the new behavior?

Set the start_key to paginate correctly.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@ricellis ricellis self-assigned this Aug 12, 2025
@ricellis ricellis force-pushed the fix-design-docs-paging branch from f12801d to 6089e76 Compare August 12, 2025 13:17
@ricellis ricellis merged commit 23416c2 into main Aug 12, 2025
8 checks passed
@ricellis ricellis deleted the fix-design-docs-paging branch August 12, 2025 13:49
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.

2 participants