increased usda search max results
This commit is contained in:
parent
087504e539
commit
779cdb6173
@ -111,7 +111,7 @@ class IngredientsController < ApplicationController
|
||||
end
|
||||
|
||||
def usda_food_search
|
||||
@foods = UsdaFood.search(params[:query]).limit(50).order(:long_description)
|
||||
@foods = UsdaFood.search(params[:query]).limit(250).order(:long_description)
|
||||
|
||||
respond_to do |format|
|
||||
format.html { render :layout => false }
|
||||
|
Loading…
Reference in New Issue
Block a user