mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#494 - ENH: Support findPagingList() ... that uses firstRow & maxRows (rather than pageIndex, pageSize)
This commit is contained in:
@@ -126,7 +126,7 @@ public class TestQueryFindPagedList extends BaseTestCase {
|
||||
|
||||
assertFalse(pagedList4.hasNext());
|
||||
assertFalse(pagedList4.hasPrev());
|
||||
assertThat(pagedList4.getDisplayXtoYofZ(" to ", "of ")).isEqualTo("1 to "+totalRowCount+" of "+totalRowCount);
|
||||
assertThat(pagedList4.getDisplayXtoYofZ(" to ", " of ")).isEqualTo("1 to "+totalRowCount+" of "+totalRowCount);
|
||||
|
||||
PagedList<Order> pagedList5 = Ebean.find(Order.class)
|
||||
.setFirstRow(0)
|
||||
|
||||
Reference in New Issue
Block a user