Provide method to change order of options to implement full text search with ranking. #624

Closed
olragon opened this Issue May 16, 2012 · 1 comment

Comments

Projects
None yet
2 participants

olragon commented May 16, 2012

First, sorry for my bad english.

Then, I'm implementing full text search with ranking for chosen. I can search, calculate result ranking but can't change order of result base on ranking.

For example: when I search country list with keyword: "vi am", result which I want is Viet Nam in the first and so on ...

What I want is:
What I want

What I get is:
What I get

You can see my commit here https://github.com/olragon/chosen/commits/master

olragon referenced this issue in select2/select2 Oct 1, 2012

Closed

Sorting matches #95

Contributor

pfiller commented Jul 11, 2013

I'm not a fan of adding ranking to Chosen. Options in a select are, presumably, already in an order that makes some kind of logical sense and adding the complication to rearrange them doesn't seem worth it.

Treating this as a #wontFix

pfiller closed this Jul 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment