Closed Peter0090 closed 3 months ago
I came here to report this bug as well. When logged in, and after clicking on "Top 10", if you change the "Show" dropdown to be "All" then the page only displays the Top 10. There is currently no way to view all stats from this page.
I'm guessing the limit isn't being passed across correctly
I'm guessing the limit isn't being passed across correctly
I opened the Firefox web developer tools, inspected the dropdown element, and changed the value from "-1" to "9999" for the "All" option and that works. The problem might be here?
https://github.com/jpatokal/openflights/blob/master/php/top10.php#L50-L53
The limit isn't being passed at all when it's on -1
(confirmed by watching the web requests).
https://github.com/jpatokal/openflights/blame/master/openflights.js#L2801-L2815
The issue hansn't been cleared. What does close mean?
It's fixed in the code repo, so the issue gets closed. That's how it is in most places.
I can't deploy changes.
How can I check it fixed? I found nothing still has been changed yet
As I said, I can't deploy changes to openflights.org. So it won't be live on that site until Jani has chance.
https://github.com/jpatokal/openflights/commit/5234b5b72fafc727040cac42d2bb67d2a1d71f89 is the commit that should fix it.
You could run openflights locally if you wanted to test it.
It shows only top 10 list, although I click all from few months ago