Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: Handle next pages single result as an element of array #193

Merged
merged 1 commit into from
Nov 8, 2017

Conversation

RineshRamadhin
Copy link
Contributor

  • Handle next page single result from Exact API not delivered as an array of elements by making the single item the first element of an (new) array.

The collectionFromResult() function from the Findable trait currently fails when loading a "nextUrl"
page that contain a single result. This pull request creates a new array if needed with the single result from the "nextUrl" page as the first item in the array.

Handle next page single result from Exact API not delivered as an array of elements by making the single item the first element of an (new) array.
@RineshRamadhin RineshRamadhin changed the title Handle next pages single result as an element of array bug fix: Handle next pages single result as an element of array Oct 16, 2017
@stephangroen stephangroen merged commit b3ee9f5 into picqer:master Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants