Skip to content

Commit

Permalink
Merge pull request #3170 from aitbw/aitbw/remove-unnecessary-deletion
Browse files Browse the repository at this point in the history
Remove unused variable assignment from Admin::OrdersController#index action
  • Loading branch information
kennyadsl authored May 2, 2019
2 parents 63a769d + 442fe04 commit f5b124c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/app/controllers/spree/admin/orders_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class OrdersController < Spree::Admin::BaseController
respond_to :html

def index
query_present = params[:q]
params[:q] ||= {}
params[:q][:completed_at_not_null] ||= '1' if Spree::Config[:show_only_complete_orders_by_default]
@show_only_completed = params[:q][:completed_at_not_null] == '1'
Expand Down

0 comments on commit f5b124c

Please sign in to comment.