stable
Clone or download
Read-only
Part of story #11253 - get a consolidate view of my timesheeting in my personal dashboard How to test: - Set up a query without any limit or offset --> 100 results are returned by default - Set up limit = 1 and offset = 0 --> Only the first time is retrieved - Set up limit = 1 and offset = 1 --> Only the second time is retrieved Change-Id: I65085e42d7ddaaf0379eb76c33db3bce36c1939a
Modified Files
Name | ||||
---|---|---|---|---|
M | include/Timetracking/REST/v1/TimetrackingRepresentationBuilder.php | +4 | −15 | Go to diff View file |
M | include/Timetracking/REST/v1/TimetrackingResource.php | +34 | −9 | Go to diff View file |
A | include/Timetracking/Time/PaginatedTimes.php | +59 | −0 | Go to diff View file |
M | include/Timetracking/Time/TimeDao.php | +5 | −1 | Go to diff View file |
M | include/Timetracking/Time/TimeRetriever.php | +14 | −4 | Go to diff View file |
M | include/autoload.php | +3 | −2 | Go to diff View file |
M | tests/rest/Timetracking/TimetrackingTest.php | +31 | −5 | Go to diff View file |
M | tests/rest/TimetrackingDataBuilder.php | +1 | −1 | Go to diff View file |
M | tests/rest/_fixtures/project/project.xml | +13 | −0 | Go to diff View file |