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

Cursor Based Pagination #39

Open
makebecoolyeh opened this issue Jan 15, 2020 · 1 comment
Open

Cursor Based Pagination #39

makebecoolyeh opened this issue Jan 15, 2020 · 1 comment

Comments

@makebecoolyeh
Copy link

DeepinScrot-5519

Hi. Cursor based pagination is not working , please check screen and if you can help me)

@kabooie
Copy link

kabooie commented Mar 31, 2020

Hi @makebecoolyeh Not sure if this is still an issue for yourself or anyone else but I encountered the same issue today and got around this by changing line 297 in /src/RocketCode/Shopify/API.php to the following

$header_components = explode(':', $header);
$key = array_shift($header_components);
$val = join(':', $header_components);

In my case, it managed to resolve the situation by joining all the values originally omitted during the explode and assign process into a string and assigning this to the $val variable. This meant that when the explode is called the link value which includes the : character would remain intact. It may be temporary or have some knock-on effects that I am unaware of at the moment but hope this helps either yourself or anyone else :) If you have any questions let me know and I will help where I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants