Search Text Feature Always Resets to First Query


Summary: When using the Search Text feature, the UI always resets the currently selected query back to the first query in the menu (whether it is the default query or not), producing unwanted search results.
Example: Add a query called "7.0 Release" to the queries table. "all bugs" is still the default release (qu_default=1). However, in the UI the "7.0 Release" is now at the top of the list because the list is always sorted alphabetically. Now select "all bugs" and then use the "Search Text" feature. Search results are not what is desired as the UI resets the query selection to the first one in the list, which is "7.0 Release" in this case instead of "all bugs".
Found in: Version 3.4.3 August 18, 2010