Opened 6 years ago

Closed 6 years ago

#18900 closed Uncategorized (invalid)

Paginator not working correctly

Reported by: tejinderss@… Owned by: nobody
Component: Core (Other) Version: 1.4
Severity: Normal Keywords:
Cc: jason@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I have a haystack searchqueryset (a list) and whenever i try to create a paginator out of it, the last element becomes None. Here is the example:


[<SearchResult: tutoring.tutor (pk=u'2')>, <SearchResult: tutoring.tutor (pk=u'1')>]
sqs.count() is 2

results.object_list # pagination results on same sqs list

[<SearchResult: tutoring.tutor (pk=u'2')>, None]

Here is the link to the stackoverflow question:

Change History (1)

comment:1 Changed 6 years ago by Jason Mayfield

Cc: jason@… added
Resolution: invalid
Status: newclosed

Reporter found solution to his problem. Was not Django: "It turns out there was a problem in my search_indexes file, so i assume this as resolved"

Note: See TracTickets for help on using tickets.
Back to Top