Skip to content

fix: improve pagination to fetch all notes and folders#16

Merged
rui-typelets merged 1 commit intomainfrom
fix/pagination
Oct 7, 2025
Merged

fix: improve pagination to fetch all notes and folders#16
rui-typelets merged 1 commit intomainfrom
fix/pagination

Conversation

@rui-typelets
Copy link
Copy Markdown
Collaborator

fix: improve pagination to fetch all notes and folders

  • Add check for last page when received count is less than limit
  • Add safety break to prevent infinite loops (max 50 pages)
  • Ensure all notes are loaded beyond the initial 50 limit
  • Apply same fix to both fetchAllNotes and fetchAllFolders

Fixes issue where "All Notes" count was capped at 50

@rui-typelets rui-typelets self-assigned this Oct 7, 2025
@rui-typelets rui-typelets merged commit 3f20edb into main Oct 7, 2025
3 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 7, 2025

🎉 This PR is included in version 1.18.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants