Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests

This commit is contained in:
Brenda Wallace committed 2019-12-19 21:49:37 +13:00
commit 32178e2c3e
1 file changed
+4 -4
+4 -4
View File
@@ -18,10 +18,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