mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Fix for certain securities returning incorrect prices
This commit is contained in:
@@ -2,7 +2,7 @@ class Security::SynthComboboxOption
|
||||
include ActiveModel::Model
|
||||
include Providable
|
||||
|
||||
attr_accessor :symbol, :name, :logo_url, :exchange_acronym, :exchange_mic
|
||||
attr_accessor :symbol, :name, :logo_url, :exchange_acronym, :exchange_mic, :exchange_country_code
|
||||
|
||||
class << self
|
||||
def find_in_synth(query)
|
||||
@@ -18,7 +18,7 @@ class Security::SynthComboboxOption
|
||||
end
|
||||
|
||||
def id
|
||||
"#{symbol}|#{exchange_mic}" # submitted by combobox as value
|
||||
"#{symbol}|#{exchange_mic}|#{exchange_acronym}|#{exchange_country_code}" # submitted by combobox as value
|
||||
end
|
||||
|
||||
def to_combobox_display
|
||||
|
||||
Reference in New Issue
Block a user