[bugfix] SQL Lab 'Filter Results' doesn't stick (#7104)

When using a "Search Results" criteria, the subset of rows that match
the criteria get displayed. While this the filter is applied, if another
query is run, the filter is still active, but not displayed in the input
text box. After this change, the state of the input box sticks after
subsequent queries.
This commit is contained in:
Maxime Beauchemin 2019-03-27 17:53:32 -07:00 committed by Christine Chambers
parent ba19a62412
commit d5e8d663dc
1 changed files with 2 additions and 1 deletions

View File

@ -153,8 +153,9 @@ export default class ResultSet extends React.PureComponent {
<input
type="text"
onChange={this.changeSearch.bind(this)}
value={this.state.searchText}
className="form-control input-sm"
placeholder={t('Search Results')}
placeholder={t('Filter Results')}
/>
}
</div>