[CodeFactor] Apply fixes to commit 3deafc0

This commit is contained in:
codefactor-io
2019-12-19 08:27:22 +00:00
parent 3deafc039d
commit 700d2b4f30

View File

@@ -17,10 +17,10 @@ class HarvestsController < ApplicationController
where['planting_id'] = @planting.id if @planting.present?
@harvests = Harvest.search('*',
where: where,
limit: 100,
page: params[:page],
load: false,
where: where,
limit: 100,
page: params[:page],
load: false,
boost_by: [:created_at])
@filename = csv_filename