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

Change request: do not sort autocomplete suggestions by default #9

Open
tdesvenain opened this issue Jun 21, 2017 · 1 comment
Open

Comments

@tdesvenain
Copy link
Member

Now, we can add an attribute to source to prevent autocomplete results from being sorted by title.

In our opinion, this should not be the default behaviour. We think that most of the time user expect autocomplete suggestions to be sorted by pertinence.

Would you agree to change this modifying this line of widgets.py:

  • if getattr(source, 'do_post_sort', True):
  • if getattr(source, 'do_post_sort', False):
@sgeulette
Copy link
Member

Hi, I agree. We have already overrided this "behavior" in our product.

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

2 participants