Skip to content

Commit

Permalink
Merge pull request #2 from ddomingues/spree-2-2-2
Browse files Browse the repository at this point in the history
Fixes ransack param name
  • Loading branch information
Bryan Mahoney committed Dec 16, 2014
2 parents 33e31fd + 3474ed2 commit 6741400
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6741400

Please sign in to comment.