mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-30 04:35:28 -04:00
Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests
This commit is contained in:
@@ -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