Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlittman committed Oct 19, 2023
1 parent cb25406 commit 4df7a1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand Down Expand Up @@ -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(',')

Expand Down

0 comments on commit 4df7a1c

Please sign in to comment.