Skip to content

Commit

Permalink
Fixes ransack param name
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomingues committed Dec 15, 2014
1 parent eb2d835 commit 3474ed2
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 3474ed2

Please sign in to comment.