edx/edx-platform — pull request #2096 by andy-armstrong (2014-01-06 23:04:03+00:00)
Title: Fix STUD-1129: handle out-of-range page numbers

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.