[PR #3648/8e99d29a backport][stable-4.7] Fix version modal - load data on pagination #3653
+50
−27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:

After:


