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

[PR #3648/8e99d29a backport][stable-4.7] Fix version modal - load data on pagination #3653

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 26, 2023

This is a backport of PR #3648 as merged into master (8e99d29).

Follows #3595,
open a collection detail when the collection has more than 10 versions available.
Open version selector, more versions, go to page 2, 💥

the version selector modal still operates under the assumption that collections contains all the versions, not just the first page

making the modal query the api on pagination, have a loading spinner, default page size to 10, not 20 to match the loadCollections request

Cc @jctanner , thanks for finding this! :)


Before:
image (1)

After:
20230424194042
20230424194049
20230424194059

Follows #3595

the version selector modal still operates under the assumption that collections contains all the versions, not just the first page

making the modal query the api on pagination, have a loading spinner, default page size to 10, not 20 to match the loadCollections request

No-Issue

(cherry picked from commit 8e99d29)
@app-sre-bot
Copy link

Can one of the admins verify this patch?

@himdel himdel merged commit f6c8bd8 into stable-4.7 Apr 26, 2023
@himdel himdel deleted the patchback/backports/stable-4.7/8e99d29a571e1e79dc750b76c24da830b421f6f8/pr-3648 branch April 26, 2023 17:04
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