Bugzilla – Bug 1842
LiveSearch display issue when you delete the search term
Last modified: 2008-09-15 14:37:04 UTC
I've seen this in Firefox and IE on Windows: 1) Go to Search Music 2) Type in a search term. The LiveSearch results display below. 3) Delete the search term. The Search Music HTML displays in the results area recursively.
Created attachment 657 [details] possible fix Here's a patch that does a couple of things: 1) Doesn't return the search page if the query is the empty string (as opposed to not specified). 2) Returns the empty string rather than undef if the search string is too small. This seems to work well on Firefox (you can delete and retype a search term), but is flaky on IE. Possibly IE doesn't like the returned empty string and stops JavaScript execution?
Well...after doing a bit more testing, it seems to me that the IE flakiness existed before. Checked in this fix as change 3757.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.