Skip to content

fixes #1481 and #320 #1655

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

specialunderwear
Copy link

@specialunderwear specialunderwear commented Jan 1, 2019

This PR fixes #1481 and #320

Pagination passes start_offset and end_offset to simple backend, but these
values where not used at all. ALso the entire queryset was evaluated by len(qs)
which leads to much larger querysets than useful.

and django-haystack#320

Pagination passes start_offset and end_offset to simple backend, but these
values where not used at all. ALso the entire queryset was evaluated by len(qs)
which leads to much larger querysets than useful.
@specialunderwear specialunderwear force-pushed the simple-backend-pagination branch from afe1160 to a15c9a4 Compare January 1, 2019 16:12
@specialunderwear
Copy link
Author

image

I don't think those test results make any sense, here is what happend on my machine, passes nicely.
That error says that Queryset.count needs an extra parameter. I think we all know that a LIE!!!!

@specialunderwear
Copy link
Author

image

@specialunderwear specialunderwear changed the title fixes https://github.com/django-haystack/django-haystack/issues/1481 fixes #1481 Jan 1, 2019
@specialunderwear specialunderwear changed the title fixes #1481 fixes #1481 and #320 Jan 1, 2019
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

Successfully merging this pull request may close these issues.

Pagination on results doesn't work 'the first time'
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy