Skip to content

Conversation

@andy-armstrong
Copy link
Contributor

I've fixed the assets REST API to return the last page of assets if querying out-of-range. This means that the UI cannot accidentally show a blank page of results. I've added tests that verify the correct behavior in out-of-range conditions.

@cahrens please review.

@cahrens
Copy link

cahrens commented Jan 7, 2014

👍 You will need to make a pull request off of the release branch and work with @cpennington to get the fix into the release.

andy-armstrong added a commit that referenced this pull request Jan 7, 2014
Fix STUD-1129: handle out-of-range page numbers
@andy-armstrong andy-armstrong merged commit 430cfd7 into master Jan 7, 2014
@cpennington cpennington deleted the andya/pagination-fix branch January 7, 2014 15:19
@cpennington cpennington restored the andya/pagination-fix branch January 7, 2014 15:19
@jzoldak jzoldak deleted the andya/pagination-fix branch May 5, 2014 14:53
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Aug 24, 2017
shimulch pushed a commit to open-craft/openedx-platform that referenced this pull request Jan 26, 2021
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.

3 participants