johanohly / AirTrail

A modern, open-source personal flight tracking system
http://airtrail.johan.ohly.dk/
GNU General Public License v3.0
290 stars 13 forks source link

Searching for OMA fails to return Eppley Airfiled #35

Closed atribe closed 2 months ago

atribe commented 2 months ago

The bug

In the to and from fields if I search OMA it doesn't find Eppley Airfield. But if I search for Epply it works. The abbreviation for Eppley Airfield is OMA, which shows in the drop down.

Operating System that is running AirTrail

Ubuntu

AirTrail Version

v0.1.2

Your docker-compose.yml content

No response

Your .env content

No response

Reproduction steps

  1. create a new flight
  2. search for OMA nothing is found

Relevant log output

No response

Additional information

No response

johanohly commented 2 months ago

Good catch! There was a bug in the search function not prioritizing exact matches like IATA code "OMA" so the result got cut off by the limit of results shown. Thank you for reporting this bug, it will be fixed in the next release.

johanohly commented 2 months ago

Fixed in v0.2.0