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

Use creation date instead of article ID for sorting #1161

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

Conversation

di72nn
Copy link
Member

@di72nn di72nn commented May 6, 2021

I'll need to benchmark it, probably add an index.

Either I miss something or it's impossible to get "previous/next article" using SQL if creation dates may be duplicate and grow in a different direction from IDs. It is possible to select multiple articles and choose one on the Java side, but I don't think it's worth it.

Fixes #713.

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.

Wrong sort order
1 participant