# Search doesn't work properly when changing between Name/Code

**URL:** <https://discussions.flightaware.com/t/search-doesnt-work-properly-when-changing-between-name-code/11846>\
**Category:** Beta General\
**Created:** [July 6, 2011, 10:31pm UTC](https://discussions.flightaware.com/t/search-doesnt-work-properly-when-changing-between-name-code/11846 "2011-07-06T22:31:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdfrey1](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jdfrey1](https://discussions.flightaware.com/u/jdfrey1)\
**Post date:** [July 6, 2011, 10:31pm UTC](https://discussions.flightaware.com/t/search-doesnt-work-properly-when-changing-between-name-code/11846/1 "2011-07-06T22:31:06Z")

</div>

If you type in an airport code but have the “Name” box selected and then click on the “Code” box it will not find the airport. Even if you press search again it won’t work. You must delete part of the search string and retype and then it finds it.

---

<div class="post-metadata">

**Author:** ![nugget](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/nugget/32/102_2.png) [@nugget](https://discussions.flightaware.com/u/nugget)\
**Post date:** [July 18, 2011, 6:11pm UTC](https://discussions.flightaware.com/t/search-doesnt-work-properly-when-changing-between-name-code/11846/2 "2011-07-18T18:11:26Z")

</div>

Thanks, I’ve opened an issue in our bug tracker for this bug.
