Bug 1025590

Summary: [RFE][TESTING][Search Runs] 'Reset' button cannot clear the condition fields after a search
Product: [Other] TCMS Reporter: Chen Chen <chechen>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: CLOSED NOTABUG QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 3.8.5CC: aigao, cqi, dli, jianchen, junzhang, jzhao, nli, ryang, vchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 01:22:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chen Chen 2013-11-01 03:00:35 UTC
Description of problem:
Go to 'TESTING'->'Search Runs' page, input some search conditions, click 'Search' button, after the results are shown, click 'Reset' button, at this time 'Reset' button cannot clear the condition fields.

Version-Release number of selected component (if applicable):
3.8.5

How reproducible:
100%

Steps to Reproduce:
1.Go to 'TESTING'->'Search Runs' page, input some search conditions, click 'Search' button.
2.after the results are shown, click 'Reset' button

Actual results:
2.'Reset' button cannot clear the condition fields.

Expected results:
2.'Reset' button can clear the condition fields.

Additional info:
Before do a search, 'Reset' can clear the condition fields.

Comment 2 cqi 2014-08-06 01:22:00 UTC
Reset button is a simple and primordial HTML form input element without any other modification with JavaScript. Thus, reset button resets each INPUT's value back to the original in the INPUT value attribute, not clear text box.

Search Runs feature is capable of remembering previous search criteria entered and selected by user. This is why the fact this bug is describing happens.