diff --git a/app/controllers/spree/admin/reports_controller_decorator.rb b/app/controllers/spree/admin/reports_controller_decorator.rb index 1827d3a..6450edf 100644 --- a/app/controllers/spree/admin/reports_controller_decorator.rb +++ b/app/controllers/spree/admin/reports_controller_decorator.rb @@ -3,7 +3,7 @@ add_available_report! :stock_requests def stock_requests - @search = Spree::StockRequest.ransack(params[:search]) + @search = Spree::StockRequest.ransack(params[:q]) @stock_requests = @search.result end