Bugzilla – Bug 2166
Advanced Search form always has -1 results before the list
Last modified: 2008-09-15 14:37:04 UTC
Pages.pm, advancedSearch() sets param{'numresults'} to -1, then later the _fillSearchResults only calculates the results of !defined numresults. If a small change is made to let numresults be -1 with no query, and undefined during a query then the list can detect and show "empty" when there are no results. patch shortly.
Created attachment 843 [details] numresults = -1 on no query, undef on query allows detection of no results when numresults == 0
fixed at change 4398 and 4400
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.