Issue 13499

API paging inconsistency in json header When r...

13499
Reporter: feedback bot
Assignee: fmendez
Type: Bug
Summary: API paging inconsistency in json header     When r...
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-07-11 09:52:51.136
Updated: 2013-08-19 13:49:05.343
Resolved: 2013-08-19 13:49:05.302
        
        
Description: API paging inconsistency in json header

When retreving records through the api, the offset value and the endOfRecords flag in all pages have the same value (0, false).

this 3 queries come out with the same header:
http://api.gbif.org/occurrence/search?TAXON_KEY=7290965&offset=0
http://api.gbif.org/occurrence/search?TAXON_KEY=7290965&offset=44
http://api.gbif.org/occurrence/search?TAXON_KEY=7290965&offset=890

{
offset: 0,
limit: 20,
endOfRecords: false,
count: 910,
results: [
{ ... }



*Reporter*: Walter Garcia
*E-mail*: [mailto:walgarcia@gmail.com]]]>
    


Author: fmendez@gbif.org
Comment: http://code.google.com/p/gbif-occurrencestore/source/detail?r=2109
Created: 2013-08-19 13:49:05.341
Updated: 2013-08-19 13:49:05.341