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

Result sorting looks borked #151

Closed
longhotsummer opened this issue Feb 16, 2017 · 0 comments
Closed

Result sorting looks borked #151

longhotsummer opened this issue Feb 16, 2017 · 0 comments

Comments

@longhotsummer
Copy link
Contributor

longhotsummer commented Feb 16, 2017

Result sorting doesn't work as expected, but it looks like that's deliberate.

First, there's this bug: https://github.com/pudo/aleph/blob/master/aleph/search/documents.py#L58 should be elif.

Second, in https://github.com/pudo/aleph/blob/master/aleph/search/query.py#L61 it looks like if you give it a query, it ignores the sort param completely. What's that about?

@pudo pudo closed this as completed in df388a9 Feb 22, 2017
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

1 participant