Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
olragon opened this Issue · 1 comment

2 participants

@olragon

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 olragon referenced this issue in select2/select2
Closed

Sorting matches #95

@pfiller
Owner

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 pfiller closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.