Displaying order is by key/value? #32

Open
lu3do opened this Issue Jun 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants

lu3do commented Jun 24, 2012

When a user inputs a term I return the results order by relevance
For example a ajax search returns the following json string:

{"10419":"Ajax","861":"Jeroen Slop","6244":"Barbara Stork","2109":"Antje Dammer","2295":"Ivo Trijbits","3885":"Marcus Keane","2172":"Alfredo Arroyo","3311":"Pascale Vos","5183":"Barbara Traanberg","277":"Cindy Snabel"}

But in the chosen select the results are ordered by the key/value of the option.

e.g.

Cindy Snabel
Jeroen Slop
Antje Dammer
etc...

is there anyway around this? am I the only one having this problem?

I'm enjoying using ajax-chosen, so thank you! I had the same problem as johnfrederik. Thanks for the commit johnfrederik!

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