dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 10 forks source link

Only use custom pagination class for asset list endpoint #1947

Closed jjnesbitt closed 3 weeks ago

jjnesbitt commented 1 month ago

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.

dandibot commented 3 weeks ago

:rocket: PR was released in v0.3.85 :rocket: