Skip to content

Commit

Permalink
hidden btc & eth spot open orders
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-xiong committed Nov 29, 2023
1 parent 8fa33d5 commit 965d19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/page_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def open_spot_orders
@page_index = 37
@symbol = params[:search]
@trade_type = params[:trade_type]
open_orders = OpenSpotOrder.order(order_time: :desc)
open_orders = OpenSpotOrder.where.not(symbol: ['BTCUSDT', 'ETHUSDT']).order(order_time: :desc)
@symbols = open_orders.pluck(:symbol).uniq
open_orders = open_orders.where(symbol: @symbol) if @symbol.present?
open_orders = open_orders.where(trade_type: @trade_type) if @trade_type.present?
Expand Down

0 comments on commit 965d19c

Please sign in to comment.