SOAP API: Return an empty result when the page is outside the filter
commit7b763277d428bae04306760bb4e5518aea423bc7
authorRobert Munteanu <robert.munteanu@gmail.com>
Thu, 19 May 2011 21:19:09 +0000 (20 00:19 +0300)
committerRobert Munteanu <robert.munteanu@gmail.com>
Thu, 19 May 2011 21:23:06 +0000 (20 00:23 +0300)
tree721b82e54b693769b0869af8805de38bde9527b5
parent286c1afa28db93df107a8e90040426d06eee2b20
SOAP API: Return an empty result when the page is outside the filter

Rather than return the last page when an out of bounds page is
requested, return no issues. This allows clients to find out when
there are no more issues for a specific filter.

Fixes #12991 : mc_filter_get_issues returns incorrect results for page_number > page_count
api/soap/mc_filter_api.php
api/soap/mc_project_api.php
tests/soap/FilterTest.php