mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-21 06:24:22 -04:00
Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests
This commit is contained in:
commit
32178e2c3e
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user