Skip to content

Conversation

@claucambra
Copy link
Contributor

Server pagination is broken

@claucambra claucambra added this to the 3.0 milestone Jul 8, 2025
@claucambra claucambra requested a review from Copilot July 8, 2025 09:19
@claucambra claucambra self-assigned this Jul 8, 2025
@claucambra claucambra added the bug Something isn't working label Jul 8, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR temporarily disables server-side pagination to work around broken pagination logic.

  • Pass nil for pageSettings when calling readServerUrl
  • Force nextPage to nil unconditionally
Comments suppressed due to low confidence (1)

Sources/NextcloudFileProviderKit/Enumeration/Enumerator.swift:251

  • [nitpick] Disabling pagination by passing nil is a temporary workaround. Please add a comment or TODO explaining the reason and plan for restoring proper pagination handling.
                pageSettings: nil,

@claucambra claucambra changed the title Quickly and dirtily disable pagination Disable pagination Jul 8, 2025
@claucambra claucambra merged commit 18f674a into main Jul 8, 2025
2 checks passed
@claucambra claucambra deleted the bugfix/disable-pagination branch July 8, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants