Offset param ignored on /search endpoint.

Avatar image for thing2
Thing2

25

Forum Posts

2

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hello,

Not sure if I should send this directly to @wcarle or make a blanket post so I'll try this way first :)

Repro. steps:
https://www.giantbomb.com/api/search?format=JSON&api_key=<redacted>&query=Mario&offset=0&resource_type=game&field_list=id


-and-


https://www.giantbomb.com/api/search?format=JSON&api_key=<redacted>&query=Mario&offset=64&resource_type=game&field_list=id

Return the exact same list of id's - Despite the response saying there are 431 results to be had.

Raw Response here: http://pastebin.com/6mdfjAjy

Avatar image for frobie
frobie

268

Forum Posts

262594

Wiki Points

0

Followers

Reviews: 0

User Lists: 4

#2  Edited By frobie  Staff

@thing2 It's a bug. I would suggest using page to paginate through the results in the mean time.

Avatar image for thing2
Thing2

25

Forum Posts

2

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By Thing2

Thanks @frobie - 'page' works like a charm!

Any idea if 'page' will cease to function / be deprecated after offset is fixed? Would want to get ahead of any potential "Hotfix because the functionality is broken in the app situations" :)