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

Offset Option #47

Open
hunter-k opened this issue Dec 19, 2017 · 0 comments
Open

Offset Option #47

hunter-k opened this issue Dec 19, 2017 · 0 comments

Comments

@hunter-k
Copy link

hunter-k commented Dec 19, 2017

For a "View More Results" button I am trying to run SimpleSearch through an Ajax request. It works fine however it always just returns the first 10 results.

I am wondering if there is a way to easily insert an offset option to be able to return results 11-20, 21-30 etc.

Currently there is just an 'offsetIndex' option which just sets the query string in the URL to a given word. I tried incrementing that using JavaScript but it did not have any effect on the back end when the Ajax request was run.

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

1 participant