Hide Forgot
Description of problem: In a search only includes a quicksearch and the keyword of quicksearch is empty, the search result will includes all certs. It may cause a proxy error since returning all certs may take more time than the time out setting in server. Instead, we should return an empty list if the quickserch is the only search and its keyword is empty. How reproducible: Steps to Reproduce: 1.Go to https://hardware.redhat.com/&quicksearch= or in /index.cgi page, click "SEARCH HARDWARE" button without input any keyword in its field 2. 3. Actual results: proxy error Expected results: an empty list Additional info:
patch for review https://code.engineering.redhat.com/gerrit/17449
Ideally, the best fix for this is to return a portion of the results from the database (e.g. "select $query between $pageStart and $pageEnd") for pagination, rather than "select all and filter". This would then not be a problem, considering the user can also enter * as a search term.
verified on partner.
verified on live.