diff --git a/app/assets/javascripts/discourse/views/search.js.es6 b/app/assets/javascripts/discourse/views/search.js.es6 index a9ec93319f8..861a29305f4 100644 --- a/app/assets/javascripts/discourse/views/search.js.es6 +++ b/app/assets/javascripts/discourse/views/search.js.es6 @@ -5,7 +5,7 @@ export default Ember.View.extend({ templateName: 'search', keyDown: function(e){ var term = this.get('controller.term'); - if (e.which === 13 && term && term.length > 2) { + if (e.which === 13 && term && term.length >= Discourse.SiteSettings.min_search_term_length) { this.get('controller').send('fullSearch'); } }