Skip to content

Fix STUD-1129: handle out-of-range page numbers - #2096

Merged
andy-armstrong merged 1 commit into
masterfrom
andya/pagination-fix
Jan 7, 2014
Merged

Fix STUD-1129: handle out-of-range page numbers#2096
andy-armstrong merged 1 commit into
masterfrom
andya/pagination-fix

Conversation

@andy-armstrong

Copy link
Copy Markdown
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

cahrens commented Jan 7, 2014

Copy link
Copy Markdown

👍 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.

2 participants