twitter/typeahead.js

From 10.5 to 11.0 changes the order of results

Opened this issue · 0 comments

Upgrading from version 10.5 to 11.0, the order of the listed Typehead results changes.

E.g. with "London Pass" search key

Version 10.5
https://cdn.jsdelivr.net/npm/typeahead.js@0.10.5/dist/typeahead.bundle.min.js

Annotazione 2020-03-09 111234

Version 11.0
https://cdn.jsdelivr.net/npm/typeahead.js@0.11.0/dist/typeahead.bundle.min.js

Annotazione 2020-03-09 111315

I note that with version 11, the results are sorted in alphabetical order instead of the order defined in the data index (attached), that would be the right behaviour.

data.txt