Increase result limit from 250 to 1000

This commit is contained in:
Rishabh Nambiar 2018-09-18 11:24:37 +05:30
parent 316923f190
commit f876cf66f1
2 changed files with 2 additions and 2 deletions

View File

@ -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 });

View File

@ -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