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

Add order to queryset to ensure correctness of pagination result. #195

Closed
wants to merge 1 commit into from

Conversation

zkl94
Copy link
Collaborator

@zkl94 zkl94 commented Nov 3, 2015

Originally, rows of querysets is in unspecified order if sorting is not chosen.
This causes problem when django pagination is used.
It can only be guaranteed if the sort type if explicitly chosen.

JIRA: PDC-1063

Originally, rows of querysets is in unspecified order if sorting is not chosen.
This causes problem when django pagination is used.
It can only be guaranteed if the sort type if explicitly chosen.

JIRA: PDC-1063
@erichuanggit
Copy link
Collaborator

Looks good to me.

@zkl94 zkl94 closed this Nov 4, 2015
@zkl94 zkl94 deleted the PDC-1063 branch November 4, 2015 05:42
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.

None yet

3 participants