Closed sckott closed 9 years ago
paging parameters by data provider:
start
, starts at: 0page
, starts at: 1 (results per page depends on limit
param)offset
, starts at: 0start
, solr API start
, starts at: 0page
, starts at: 1offset
, starts at: 0The global offset param could be: start
With non-page type APIs, use as normal, easy.
With page type APIs, potentially round up or down to the nearest 10
E.g. 1
limit = 10
, offset = 10
- pass as is, works finelimit = 10
, offset = 10
- pass limit as is, offset => page = 2
E.g. 2
limit = 10
, offset = 10
- pass as is, works finelimit = 100
, offset = 50
- pass limit as is, offset => page = 2
meh, can't do this I don't think, as offset for paging type APIs has to be same size as the per_page param
Instead, two parameters for start, one for each type: start
, page
See if possible