Skip to content

Commit

Permalink
Pluralize report title in txt/csv/pdf reports
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Apr 11, 2017
1 parent 2d83304 commit 7adfd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller/report_downloads.rb
Expand Up @@ -96,7 +96,7 @@ def download_data
options = session[:paged_view_search_options].merge(:page => nil, :per_page => nil) # Get all pages
@view.table, _attrs = @view.paged_view_search(options) # Get the records

@view.title = _(@view.title)
@view.title = _(@view.title.pluralize)
@view.headers.map! { |header| _(header) }

@filename = filename_timestamp(@view.title)
Expand Down

0 comments on commit 7adfd8b

Please sign in to comment.