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

{{ pages.previous }} on page 2 doesn't have ?page=1 in URL #73

Open
ghost opened this issue Sep 4, 2014 · 0 comments
Open

{{ pages.previous }} on page 2 doesn't have ?page=1 in URL #73

ghost opened this issue Sep 4, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2014

I have a page with several AJAX elements, so I can't just use if request.is_ajax() to check for pagination requests. Instead, I use if request.is_ajax() and "page" in request.GET.

However, if I'm on page 2, the {{ pages.previous }} links to the main URL without a "pages" parameter. This means that the whole page is inserted again into .endless_page_template.

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

0 participants