Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only use custom pagination class for asset list endpoint #1947

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

jjnesbitt
Copy link
Member

@jjnesbitt jjnesbitt commented May 28, 2024

Fixes #1917

#1911 greedily implemented the custom pagination class (not including count in every page of the paginated response) for every listing endpoint. In reality, the main target of that PR was the asset list endpoint. Since there are various places in the web client that assume the removed count field is present, this PR reverts the functionality for all list endpoints except for the asset list endpoint.

This retains the behavior of using a custom pagination class for the asset list endpoint
@yarikoptic yarikoptic added the patch Increment the patch version when merged label May 29, 2024
@jjnesbitt jjnesbitt merged commit 6711a0a into master Jun 3, 2024
11 checks passed
@jjnesbitt jjnesbitt deleted the fix-dandiset-pagination branch June 3, 2024 20:05
@dandibot
Copy link
Member

dandibot commented Jun 3, 2024

🚀 PR was released in v0.3.85 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dandiset pagination appears broken.
4 participants