Loop Builder - Pass header when pagination is 'Infinite Scroll' so we can differentiate between these requests #23202
propertyhive
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
We run some filters/actions that modify the query on an archive page based on a $_GET parameter, specifically ordering. When you use the Loop Builder widget and have infinite scroll as the pagination, this ordering is lost.
Need some header passed so we can tell that results were loaded via infinite scroll and then look at the HTTP Referer to obtain the $_GET parameter in question.
Describe the solution you'd like
A header to be passed when a fetch request is done during infinite scroll
Describe alternatives you've considered
No response
Additional context
No response
All reactions