Commit 7f466aac authored by Matthew Taylor's avatar Matthew Taylor

Add language to search / explore api requests

Fixes #686, thanks @thisandagain !
parent ad8b43a5
......@@ -64,6 +64,7 @@ var Explore = injectIntl(React.createClass({
uri: '/search/' + this.props.itemType +
'?limit=' + this.props.loadNumber +
'&offset=' + this.state.offset +
'&language=' + this.props.intl.locale +
qText
}, function (err, body) {
if (!err) {
......
......@@ -61,6 +61,7 @@ var Search = injectIntl(React.createClass({
uri: '/search/' + this.props.tab +
'?limit=' + this.props.loadNumber +
'&offset=' + this.state.offset +
'&language=' + this.props.intl.locale +
termText
}, function (err, body) {
var loadedSoFar = this.state.loaded;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment