diff --git a/assets/javascripts/discourse/components/query-result.js.es6 b/assets/javascripts/discourse/components/query-result.js.es6 index 0ad5a26..fb39a6e 100644 --- a/assets/javascripts/discourse/components/query-result.js.es6 +++ b/assets/javascripts/discourse/components/query-result.js.es6 @@ -34,7 +34,7 @@ const QueryResultComponent = Ember.Component.extend({ @computed('content.result_count') resultCount: function(count) { - if (count === 250) { + if (count === 1000) { return I18n.t('explorer.max_result_count', { count }); } else { return I18n.t('explorer.result_count', { count }); diff --git a/plugin.rb b/plugin.rb index 5371787..4993d23 100644 --- a/plugin.rb +++ b/plugin.rb @@ -99,7 +99,7 @@ after_initialize do WITH query AS ( #{query.sql} ) SELECT * FROM query -LIMIT #{opts[:limit] || 250} +LIMIT #{opts[:limit] || 1000} SQL time_start = Time.now