jpatokal / openflights

Website for storing flight information, rendering paths on a zoomable world map and calculating statistics, with plenty of free airline, airport and route data.
http://openflights.org
GNU Affero General Public License v3.0
1.37k stars 387 forks source link

Issue 964 is recurring again #1446

Closed 2sylbl closed 5 months ago

2sylbl commented 8 months ago
          This issue is recurring again - autocomplete failing to show anything above a 737-500 if you use the correct hyphenation.

Originally posted by @2sylbl in https://github.com/jpatokal/openflights/issues/964#issuecomment-1773975696

chrisrosset commented 8 months ago

The back-end code still throws everything after a hyphen away when preparing the SQL query: https://github.com/jpatokal/openflights/blob/f53e4522574e201796d5526b5f9e06e0ca506abb/php/autocomplete.php#L12-L16

dnowacki commented 6 months ago

+1, ran into this today