Skip to content

Commit

Permalink
Merge pull request #2407 from internetee/2359-csv-and-pdf-download-pu…
Browse files Browse the repository at this point in the history
…ts-only-partial-domainlist

extended csv domain export
  • Loading branch information
vohmar authored Sep 16, 2022
2 parents 4c52b19 + 327cd5a commit 92d7572
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/controllers/registrar/domains_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ def index
end
end

@domains = @domains.per(params[:results_per_page]) if params[:results_per_page].to_i.positive?

respond_to do |format|
format.html
format.csv do
domain_presenters = []

@domains.find_each do |domain|
@q.result.find_each do |domain|
domain_presenters << ::DomainPresenter.new(domain: domain, view: view_context)
end

Expand Down

0 comments on commit 92d7572

Please sign in to comment.