Matching IATA/ICAO code before airport names


As also mentioned in Discord server, currently when searching airports while creating new flighys, the system would provide partial match of airport names above the code, resulting in inconvenient situation.

For example, searching “OKA” will turn up airports like Fukuoka and Okayama before OKA Okinawa.
I think it is reasonable that airports with code matching the search term should be prioitized first in the result. to prevent case like this.
Secondly, I think it is also reasonable to expect people who search by typing name to type from start, therefore matches like “OKAyama” should probably appear above results like “fukuOKA” or “shizuOKA”.

3 Likes

Thank you, I’ve added a ticket for it to our “maintenance patch backlog”.

1 Like

Just had a look at that and thought it would be a quick fix. Sadly, this is done completely client-side in a 3rd-party library that just matches strings and doesn’t know anything about the semantics of airport codes. I am sure I can resolved this at some point down the line, but don’t want to (and can’t) dive into it today.