Merge pull request #964 from technoboy10/gh899-searchbarundefined

Fix GH-899: Re-searching should not search for 'undefined'
This commit is contained in:
Connor Hudson 2016-10-20 12:51:50 -07:00 committed by GitHub
commit dc890d6db8

View file

@ -110,7 +110,7 @@ var Search = injectIntl(React.createClass({
<Input type="text"
aria-label={formatMessage({id: 'general.search'})}
placeholder={formatMessage({id: 'general.search'})}
defaultValue={decodeURI(this.props.searchTerm)}
value={decodeURI(this.props.searchTerm)}
name="q" />
</Form>
</div>