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

Corpus.get_like method is weirdly sorted #204

Open
PonteIneptique opened this issue Sep 7, 2020 · 1 comment
Open

Corpus.get_like method is weirdly sorted #204

PonteIneptique opened this issue Sep 7, 2020 · 1 comment
Labels

Comments

@PonteIneptique
Copy link
Member

Describe the bug

When auto-completing lemma or morph, there can be weird sorting. It seems to be mostly due to few things: there is only one result and it's what being typed (I still think this should be shown), or some results contains uppercase letter.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Corpus
  2. Click on Correct Token
  3. Correct a token with auto-completion
  4. See the sorting of values

Expected behavior
Sorting should not be case dependant and we should make sure that even in the case of a single results, it should be shown.

@PonteIneptique
Copy link
Member Author

I think the solution might be different between morph, POS and lemma. But I'd probably try first with a sort on value_readable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant