Categories
Mastering Development

How to change LimitOffsetPagination

I need to customize LimitOffsetPagination so it will show every time only unique objects. So for example, as default it works like this: Total customers: 24 Offset=0 Limit=5 => 1,2,3,4,5 Offset=1 Limit=5 => 2,3,4,5,6 But I need it to work by this way (maybe I should change the way it slices, but I don’t know […]