From 4df7a1c8ccc99a98f76170287fb8a673eb42f928 Mon Sep 17 00:00:00 2001 From: Justin Littman Date: Thu, 19 Oct 2023 14:06:50 -0400 Subject: [PATCH] Test --- app/models/report.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/report.rb b/app/models/report.rb index a6adafc59..da57e8ddf 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -20,7 +20,7 @@ class << self COLUMN_SELECTOR_COLUMN_SIZE = 3 # Helps display report columns in neatly lined up columns. ROWS_PER_PAGE = 100 - ROWS_PER_PAGE_CSV = 10_000 + ROWS_PER_PAGE_CSV = 1_000 REPORT_FIELDS = [ { @@ -217,7 +217,6 @@ class << self configure_blacklight do |config| config.search_builder_class = ReportSearchBuilder # leave off faceting for report queries - # config.default_solr_params[:rows] = ROWS_PER_PAGE_CSV config.max_per_page = ROWS_PER_PAGE_CSV # Must be >= max number of rows want returned. config.default_solr_params[:fl] = REPORT_FIELDS.collect { |f| f[:solr_fields] || f[:field] }.flatten.uniq.join(',')